Click or drag to resize

LicenseSigningKey Class

This class holds or creates cryptographic keys used to generate licenses.
Inheritance Hierarchy
SystemObject
  TreeksLicensingLibrary2LicenseSigningKey

Namespace:  TreeksLicensingLibrary2
Assembly:  TreeksLicensingLibrary2 (in TreeksLicensingLibrary2.dll) Version: 2.1.8318.42066 (2.1.0.0)
Syntax
public class LicenseSigningKey

The LicenseSigningKey type exposes the following members.

Constructors
  NameDescription
Public methodLicenseSigningKey
Initializes class and creates new license signing key using default (4096 bit) size.
Public methodLicenseSigningKey(Int32)
Initializes class and creates new licensing signing key using specified size.
Public methodLicenseSigningKey(String)
Initializes class and loads license signing key from unecrypted (plain-text) file.
Public methodLicenseSigningKey(String, Boolean)
Initializes class and loads the license signing key from supplied string
Public methodLicenseSigningKey(String, String)
Initializes class and loads license signing key from encrypted file.
Top
Properties
  NameDescription
Public propertyPrivateKeyHash
Returns hash of private key
Public propertyPrivateKeyXML
Gets the private key in XML format.
Public propertyPublicKeyHash
Returns hash of public key
Public propertyPublicKeyXML
Gets the public key in XML format.
Top
Methods
  NameDescription
Public methodCreateNewKey
Generates new license signing key
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoadFile
Loads previously saved keypair from file system.
Public methodLoadXMLKey
Loads the signing key from submitted XML string
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSaveFile
Saves license signing key to filesystem
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks