密钥长度 |
(输入属性) 注册密钥的长度 (RSA 512/768/1024/2048/3072/4096), 有以下值 (点击 常规选项-常规 查看注册密钥安全性/长度值):
RM_512 = 0; RM_768 = 1; RM_1024 = 2; RM_2048 = 3; RM_3072 = 4; RM_4096 = 5;
|
输出方式 |
(输入属性) 注册密钥输出方式 (Base 2/8/16/32/64), 有以下值 (点击 常规选项-常规 查看输出方式值):
RB_2 = 0; RB_8 = 1; RB_16 = 2; RB_32 = 3; RB_64 = 4;
|
密钥 |
(输入属性) 空注册密钥将导致程序停止运行; |
密钥长度 |
(输入属性) 注册密钥字节长度; |
注册信息 |
(输入属性) 空注册用户名将导致程序停止运行; |
建立年份 |
(输出属性) 密钥建立的年份 |
建立月份 |
(输出属性) 密钥建立的月份 |
建立日期 |
(输出属性) 密钥建立的日期 |
密钥过期 |
(输出属性) 如果值为0则无过期日期,如果值为1则有时间限制。密钥将有过期年份、月份、日期 (查看更多,请点击 创建密钥); |
过期年份 |
(输出属性) 密钥过期的年份; |
过期月份 |
(输出属性) 密钥过期的月份; |
过期日期 |
(输出属性) 密钥过期日期; |
硬件锁定 |
(输入属性) 如果值为1则锁定硬件,如果值为0则不锁定 (查看更多,请点击 创建密钥);
|
硬件ID类型 |
(输入属性) 空值将导致程序停止运行; |
限制运行 |
(输出属性) 密钥为限制运行类型,属性为1则限制运行,反之为0 (查看更多,请点击 创建密钥);
|
运行合计 |
(输出属性) 注册密钥限制运行总次数; |
天数限制 |
(输出属性) 密钥限制天数, 属性为1则限制天数,反之为0 (查看更多,请点击 创建密钥);
|
天数合计 |
(输出属性) 注册密钥限制使用天数合计; |
限制使用时间 |
(输出属性) 密钥限制运行时间,属性为1则限制,反之为0 (查看更多,请点击 创建密钥);
|
运行分钟数 |
(输出属性) 注册密钥限制运行分钟数; |
总运行时间限制 |
(输出属性) 密钥限制中运行时间, 属性为1则限制总运行时间,反之为0 (查看更多,请点击 创建密钥);
|
总运行分钟 |
(输出属性) 注册密钥限制总运行分钟数; |
限制区域 |
(输出属性) 密钥限制区域,属性为1则限制,反之为0 (查看更多,请点击 创建密钥);
|
区域代码 |
(输出属性) 注册密钥限制区域代码 (请浏览 Enigma API EP_MiscCountryCode了解更多区域代码); |
在指定时间后注册 |
(输出属性) 在指定时间后必须注册,属性为1则激活,反之为0。包括在指定年份、月份、日期后属性 (查看更多,请点击 创建密钥); |
在指定年份后注册 |
(输出属性) 在指定年份后注册; |
在指定月份后注册 |
(输出属性) 在指定月份后注册; |
在指定日期后注册 |
(输出属性) 在指定日期后注册; |
在指定时间前注册 |
(输出属性) 注册密钥指定时间前需注册,属性为1则激活,反之为0。包括在指定年份、月份、日期前属性 (查看更多,请点击 创建密钥); |
在指定年份前注册 |
(输出属性) 在指定年份前注册; |
在指定月份前注册 |
(输出属性) 在指定月份前注册; |
在指定日期前注册 |
(输出属性) 在指定日期前注册; |
加密常数 |
(输入属性) 在工程项目文件中获取加密常数 (请点击 常规选项-常规了解更多); |
加密区间 |
(输出属性) 有16个可加密区间,使用正确密钥可解密被加密区间 (查看更多,请点击 创建密钥Creating Keys); |
公钥 |
(输入属性) 空值将导致程序停止运行,在工程项目文件处获取 (请浏览 常规选项-常规 获取更多公钥私钥的信息); |
TKeyVerifyParamsA = record
RegInfo : PAnsiChar;
KeyMode : dword; RSA ???
KeyBase : dword; Base ???
Key : pointer;
KeyLen : dword;
CreationYear : dword;
CreationMonth : dword;
CreationDay : dword;
UseKeyExpiration : boolean;
ExpirationYear : dword;
ExpirationMonth : dword;
ExpirationDay : dword;
UseHardwareLocking : boolean;
HardwareID : PAnsiChar;
UseExecutionsLimit : boolean;
ExecutionsCount : dword;
UseDaysLimit : boolean;
DaysCount : dword;
UseRunTimeLimit : boolean;
RunTimeMinutes : dword;
UseGlobalTimeLimit : boolean;
GlobalTimeMinutes : dword;
UseCountyLimit : boolean;
CountryCode : dword;
UseRegisterAfter : boolean;
RegisterAfterYear : dword;
RegisterAfterMonth : dword;
RegisterAfterDay : dword;
UseRegisterBefore : boolean;
RegisterBeforeYear : dword;
RegisterBeforeMonth : dword;
RegisterBeforeDay : dword;
EncryptedConstant : dword;
EncryptedSections : array [1..NUMBER_OF_CRYPTED_SECTIONS] of boolean;
PublicKey : PAnsiChar;
end;
PKeyVerifyParamsA = ^TKeyVerifyParamsA;
typedef struct _TKeyVerifyParamsA
{
char* RegInfo;
DWORD KeyMode; RSA ???
DWORD KeyBase; Base ???
char* Key;
DWORD KeyLen;
DWORD CreationYear;
DWORD CreationMonth;
DWORD CreationDay;
bool UseKeyExpiration;
DWORD ExpirationYear;
DWORD ExpirationMonth;
DWORD ExpirationDay;
bool UseHardwareLocking;
char* HardwareID;
bool UseExecutionsLimit;
DWORD ExecutionsCount;
bool UseDaysLimit;
DWORD DaysCount;
bool UseRunTimeLimit;
DWORD RunTimeMinutes;
bool UseGlobalTimeLimit;
DWORD GlobalTimeMinutes;
bool UseCountyLimit;
DWORD CountryCode;
bool UseRegisterAfter;
DWORD RegisterAfterYear;
DWORD RegisterAfterMonth;
DWORD RegisterAfterDay;
bool UseRegisterBefore;
DWORD RegisterBeforeYear;
DWORD RegisterBeforeMonth;
DWORD RegisterBeforeDay;
DWORD EncryptedConstant;
bool EncryptedSections[NUMBER_OF_CRYPTED_SECTIONS];
char* PublicKey;
} TKeyVerifyParamsA, *PKeyVerifyParamsA;
public struct TKeyVerifyParamsA
{
public string RegInfo;
public Int32 KeyMode;
public Int32 KeyBase;
public string Key;
public Int32 KeyLen;
public Int32 CreationYear;
public Int32 CreationMonth;
public Int32 CreationDay;
public bool UseKeyExpiration;
public Int32 ExpirationYear;
public Int32 ExpirationMonth;
public Int32 ExpirationDay;
public bool UseHardwareLocking;
public string HardwareID;
public bool UseExecutionsLimit;
public Int32 ExecutionsCount;
public bool UseDaysLimit;
public Int32 DaysCount;
public bool UseRunTimeLimit;
public Int32 RunTimeMinutes;
public bool UseGlobalTimeLimit;
public Int32 GlobalTimeMinutes;
public bool UseCountyLimit;
public Int32 CountryCode;
public bool UseRegisterAfter;
public Int32 RegisterAfterYear;
public Int32 RegisterAfterMonth;
public Int32 RegisterAfterDay;
public bool UseRegisterBefore;
public Int32 RegisterBeforeYear;
public Int32 RegisterBeforeMonth;
public Int32 RegisterBeforeDay;
public Int32 EncryptedConstant;
[MarshalAs(UnmanagedType.ByValArray, SizeConst = NUMBER_OF_CRYPTED_SECTIONS)]
public byte[] EncryptedSections;
public string PublicKey;
}