KeyMode |
(input parameter) mode of registration key (RSA 512/768/1024/2048/3072/4096). It may have the following values (see Registration Features - Common Registration key safety/length value):
RM_512 = 0; RM_768 = 1; RM_1024 = 2; RM_2048 = 3; RM_3072 = 4; RM_4096 = 5;
|
KeyBase |
(input parameter) base of registration key (Base 2/8/16/32/64). It may have the following values (see Registration Features - Common Registration key output base value):
RB_2 = 0; RB_8 = 1; RB_16 = 2; RB_32 = 3; RB_64 = 4;
|
Key |
(input parameter) pointer to the ANSI, null terminated string, which is the registration key; |
KeyLen |
(input parameter) size of registration key buffer; |
RegInfo |
(input parameter) pointer to ANSI, null terminated string, which is the registration name; |
CreationYear |
(output parameter) the year when the key was created |
CreationMonth |
(output parameter) the month when the key was created |
CreationDay |
(output parameter) the day when the key was created |
UseKeyExpiration |
(output parameter) if the value is 0, then the key does not have expiration, if the value is 1, then the key is time-limited. The key will expire on the date specified in the ExpirationYear, ExpirationMonth, ExpirationDay parameters (see Creating Keys); |
ExpirationYear |
(output parameter) year of key expiration date; |
ExpirationMonth |
(output parameter) month of key expiration date; |
ExpirationDay |
(output parameter) day of key expiration date; |
UseHardwareLocking |
(input parameter) if the key is hardware-locked, set this parameter to 1, otherwise it should be 0 (see Creating Keys);
|
HardwareIDType |
(input parameter) pointer to ANSI, null terminated hardware id string; |
UseExecutionsLimit |
(output parameter) key is executions-limited; the parameter is 1 if the key is limited, and 0 if it is not (see Creating Keys);
|
ExecutionsCount |
(output parameter) number of executions the registration key is limited to; |
UseDaysLimit |
(output parameter) key is days-limited; the parameter is 1 if the key is limited, and 0 if it is not (see Creating Keys);
|
DaysCount |
(output parameter) number of days the registration key is limited to; |
UseRunTimeLimit |
(output parameter) key is run-time-limited; the parameter is 1 if the key is limited, and 0 if it is not (see Creating Keys);
|
RunTimeMinutes |
(output parameter) number of run-time minutes the registration key is limited to; |
UseGlobalTimeLimit |
(output parameter) key is global time-limited; the parameter is 1 if the key is limited, and 0 if it is not (see Creating Keys);
|
GlobalTimeMinutes |
(output parameter) number of global time minutes the registration key is limited to; |
UseCountyLimit |
(output parameter) key is country-limited; the parameter is 1 if the key is limited, and 0 if it is not (see Creating Keys);
|
CountryCode |
(output parameter) the country code the registration key is locked to (see Enigma API EP_MiscCountryCode to get the code of a particular country); |
UseRegisterAfter |
(output parameter) the registration key has Register After date; the parameter is 1 if true yes and 0 if false. The Register After date is specified in the RegisterAfterYear, RegisterAfterMonth, RegisterAfterDay parameters (see Creating Keys); |
RegisterAfterYear |
(output parameter) year of Register After date; |
RegisterAfterMonth |
(output parameter) month of Register After date; |
RegisterAfterDay |
(output parameter) day of Register After date; |
UseRegisterBefore |
(output parameter) the registration key has Register Before date; the parameter is 1 if true, and 0 if false. The Register Before date is specified in the RegisterBeforeYear, RegisterBeforeMonth, RegisterBeforeDay parameters (see Creating Keys); |
RegisterBeforeYear |
(output parameter) year of Register Before date; |
RegisterBeforeMonth |
(output parameter) month of Register Before date; |
RegisterBeforeDay |
(output parameter) day of Register Before date; |
EncryptedConstant |
(input parameter) integer constant, obtain it from the project file (see Registration Features - Common Registration, Information for Custom Keys Generator box, Encryption Constant value); |
EncryptedSections |
(output parameter) array of 16-byte length, which the encrypted sections, that will be decrypted with this registration key (see Creating Keys); |
PublicKey |
(input parameter) pointer to ANSI, null terminated string, which is a unique constant, should be obtained from the project (see Registration Features - Common Registration, Information for Custom Keys Generator box, Public Key value); |