Public Member Functions | |
| License (Core.Interfaces.ISecurityManager signatory, Core.Interfaces.ISecurityManager cipher, byte[] enc_lic, byte[] signature) | |
| License (byte[] enc_lic, byte[] signature) | |
| String | ToPublicString () |
| override String | ToString () |
Static Public Member Functions | |
| static bool | ValidateLicenseFormat (String v) |
Properties | |
| int | RemainingConsumption [get] |
| bool | IsUnrestrictedLicense [get] |
| bool | IsMultiLicense [get] |
| bool | IsSingleLicense [get] |
| bool | IsExpired [get] |
| byte[] | LicenseSignature [get] |
| byte[] | EncodedLicense [get] |
| bool | HaveSignatory [get] |
| bool | IsTrial [get] |
| bool | IsVolatile [get] |
| bool | IsKeyValid [get] |
| bool | IsValid [get] |
| int | ConsumptionLevel [get] |
| String | ConsumptionType [get] |
| DateTime | GrantDate [get] |
| DateTime | ExpiryDate [get] |
| int | AccessLevelData [get] |
| String | AccessLevel [get] |
| int | CustomerId [get] |
| int | VendorId [get] |
| int | LastMinorVersion [get] |
| int | LastMajorVersion [get] |
| int | FirstMinorVersion [get] |
| int | FirstMajorVersion [get] |
| String | ProductId [get] |
Private Member Functions | |
| void | Init (byte[] enc_lic, byte[] signature) |
| void | Validate () |
| bool | ParseKey (String v) |
Private Attributes | |
| String | product_id = null |
| bool | is_valid = false |
| bool | is_key_valid = false |
| String | key = null |
| int | first_major_version = 0 |
| int | first_minor_version = 0 |
| int | last_major_version = 0 |
| int | last_minor_version = 0 |
| int | vendor_id = 0 |
| int | customer_id = 0 |
| String | access_level = null |
| int | access_level_data = 0 |
| DateTime | grant_date |
| DateTime | expiry_date |
| String | consumption_type = null |
| int | consumption_level = 0 |
| bool | is_trial_license = false |
| bool | is_volatile = false |
| Core.Interfaces.ISecurityManager | local_signatory = null |
| Core.Interfaces.ISecurityManager | local_cipher = null |
| bool | have_signatory = false |
| bool | is_expired = false |
| bool | is_single_license = false |
| bool | is_multi_license = false |
| bool | is_unrestricted_license = false |
| int | remaining_consumption = 0 |
| byte[] | encoded_license = new byte[0] |
| byte[] | license_signature = new byte[0] |
Static Private Attributes | |
| static System.Text.RegularExpressions.Regex | KEY_EXPR = new System.Text.RegularExpressions.Regex("^(\\S{3})-(\\d{4})(\\d{4})-(\\d{4})-(\\d{6})-(\\S{3})-(\\d{3})-(\\d{8})-(\\d{8})-(\\S{1})-(\\d{3})") |
| static int | KEY_LENGTH = 56 |
| Core.Tools.License.License.License | ( | Core.Interfaces.ISecurityManager | signatory, | |
| Core.Interfaces.ISecurityManager | cipher, | |||
| byte[] | enc_lic, | |||
| byte[] | signature | |||
| ) |
| Core.Tools.License.License.License | ( | byte[] | enc_lic, | |
| byte[] | signature | |||
| ) |
| void Core.Tools.License.License.Init | ( | byte[] | enc_lic, | |
| byte[] | signature | |||
| ) | [private] |
| void Core.Tools.License.License.Validate | ( | ) | [private] |
| static bool Core.Tools.License.License.ValidateLicenseFormat | ( | String | v | ) | [static] |
| String Core.Tools.License.License.ToPublicString | ( | ) |
| override String Core.Tools.License.License.ToString | ( | ) |
| bool Core.Tools.License.License.ParseKey | ( | String | v | ) | [private] |
System.Text.RegularExpressions.Regex Core.Tools.License.License.KEY_EXPR = new System.Text.RegularExpressions.Regex("^(\\S{3})-(\\d{4})(\\d{4})-(\\d{4})-(\\d{6})-(\\S{3})-(\\d{3})-(\\d{8})-(\\d{8})-(\\S{1})-(\\d{3})") [static, private] |
String Core.Tools.License.License.product_id = null [private] |
bool Core.Tools.License.License.is_valid = false [private] |
bool Core.Tools.License.License.is_key_valid = false [private] |
String Core.Tools.License.License.key = null [private] |
int Core.Tools.License.License.KEY_LENGTH = 56 [static, private] |
int Core.Tools.License.License.first_major_version = 0 [private] |
int Core.Tools.License.License.first_minor_version = 0 [private] |
int Core.Tools.License.License.last_major_version = 0 [private] |
int Core.Tools.License.License.last_minor_version = 0 [private] |
int Core.Tools.License.License.vendor_id = 0 [private] |
int Core.Tools.License.License.customer_id = 0 [private] |
String Core.Tools.License.License.access_level = null [private] |
int Core.Tools.License.License.access_level_data = 0 [private] |
DateTime Core.Tools.License.License.grant_date [private] |
DateTime Core.Tools.License.License.expiry_date [private] |
String Core.Tools.License.License.consumption_type = null [private] |
int Core.Tools.License.License.consumption_level = 0 [private] |
bool Core.Tools.License.License.is_trial_license = false [private] |
bool Core.Tools.License.License.is_volatile = false [private] |
Core.Interfaces.ISecurityManager Core.Tools.License.License.local_cipher = null [private] |
bool Core.Tools.License.License.have_signatory = false [private] |
bool Core.Tools.License.License.is_expired = false [private] |
bool Core.Tools.License.License.is_single_license = false [private] |
bool Core.Tools.License.License.is_multi_license = false [private] |
bool Core.Tools.License.License.is_unrestricted_license = false [private] |
int Core.Tools.License.License.remaining_consumption = 0 [private] |
byte [] Core.Tools.License.License.encoded_license = new byte[0] [private] |
byte [] Core.Tools.License.License.license_signature = new byte[0] [private] |
int Core.Tools.License.License.RemainingConsumption [get] |
bool Core.Tools.License.License.IsUnrestrictedLicense [get] |
bool Core.Tools.License.License.IsMultiLicense [get] |
bool Core.Tools.License.License.IsSingleLicense [get] |
bool Core.Tools.License.License.IsExpired [get] |
byte [] Core.Tools.License.License.LicenseSignature [get] |
byte [] Core.Tools.License.License.EncodedLicense [get] |
bool Core.Tools.License.License.HaveSignatory [get] |
bool Core.Tools.License.License.IsTrial [get] |
bool Core.Tools.License.License.IsVolatile [get] |
bool Core.Tools.License.License.IsKeyValid [get] |
bool Core.Tools.License.License.IsValid [get] |
int Core.Tools.License.License.ConsumptionLevel [get] |
String Core.Tools.License.License.ConsumptionType [get] |
DateTime Core.Tools.License.License.GrantDate [get] |
DateTime Core.Tools.License.License.ExpiryDate [get] |
int Core.Tools.License.License.AccessLevelData [get] |
String Core.Tools.License.License.AccessLevel [get] |
int Core.Tools.License.License.CustomerId [get] |
int Core.Tools.License.License.VendorId [get] |
int Core.Tools.License.License.LastMinorVersion [get] |
int Core.Tools.License.License.LastMajorVersion [get] |
int Core.Tools.License.License.FirstMinorVersion [get] |
int Core.Tools.License.License.FirstMajorVersion [get] |
String Core.Tools.License.License.ProductId [get] |