密钥长度 |
(输入属性) 注册密钥的长度 (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;
|
密钥 |
(输入属性) 空注册密钥将导致程序停止运行,我们建议您至少选择 2048 长度密钥;
|
密钥长度 |
(输入属性) 注册密钥字节长度; |
注册信息 |
(输入属性) 注册用户信息将存储;
|
注册信息长度 |
(输入属性) 注册信息大小; |
建立年份 |
(输出属性) 密钥建立年份 |
建立月份 |
(输出属性) 密钥建立月份 |
建立日期 |
(输出属性) 密钥建立日期 |
密钥过期 |
(输出属性) 若值为0则密钥没有过期日期, 若值为1则密钥限制日期。密钥过期日期包括过期年份、月份、日期属性 (了解更多,请点击 创建密钥); |
过期年份 |
(输出属性) 密钥过期年份; |
过期月份 |
(输出属性) 密钥过期月份; |
过期日期 |
(输出属性) 密钥过期日期; |
使用硬件锁定 |
(输入属性) 如果锁定硬件则设置属性为1,设置0则不锁定硬件 (了解更多,请点击 创建密钥);
|
硬件ID类型 |
(输入属性) 空值将导致程序停止运行; |
限制运行次数 |
(输出属性) 密钥限制运行次数, 属性为1则激活限制运行次数,为0则不限制 (了解更多,请点击 创建密钥);
|
运行合计 |
(输出属性) 密钥限制运行合计次数; |
天数限制 |
(输出属性) 密钥限制天数,属性为1激活限制,为0则不激活 (了解更多,请点击 创建密钥);
|
天数合计 |
(输出属性) 密钥限制天数合计; |
运行时间限制 |
(输出属性) 密钥限制运行时间, 属性为1则激活限制,为0则不激活 (了解更多,请点击 创建密钥);
|
运行时间分钟 |
(输出属性) 密钥限制运行时间; |
限制总时间 |
(输出属性) 密钥限制总运行时间, 属性为1则激活限制,为0则不做限制 (了解更多,请点击 创建密钥);
|
总时间分钟数 |
(输出属性) 密钥限制总时间分钟数; |
使用区域限制 |
(输出属性) 密钥限制区域, 属性为1激活,为0则不做限制 (了解更多,请点击 创建密钥);
|
区域代码 |
(输出属性) 注册密钥限制区域代码 (请查看 Enigma API EP_MiscCountryCode 以了解更多区域代码); |
在指定日期后注册 |
(输出属性) 注册密钥需在指定日期后注册, 属性为1激活,为0则不做限制。属性包括指定年份、月份、日期后注册 (了解更多,请点击 创建密钥); |
指定年份后注册 |
(输出属性) 在指定年份后注册; |
在指定月份后注册 |
(输出属性) 在指定月份后注册; |
在指定日期后注册 |
(输出属性) 在指定日期后注册; |
在指定时间前注册 |
(输出属性) 注册密钥需在指定日期前注册, 属性为1激活,为0则不着限制。 包括在指定年份、月份、日期前注册属性 (了解更多,请点击 创建密钥); |
在指定年份前注册 |
(输出属性) 在指定年份前注册; |
在指定月份前注册 |
(输出属性) 在指定月份前注册; |
在指定日期前注册 |
(输出属性) 在指定日期前注册; |
加密常数 |
(输入属性) 从工程项目文件获取加密常数 (点击 常规选项 - 常规 了解更多信息); |
加密区间 |
(输出属性) 有16个可加密区间,使用正确密钥可解密被加密区间 (了解更多,请点击 创建密钥); |
公钥 |
(输入属性) 控制将导致程序停止运行,从项目工程文件处可获取 (请点击 常规选项 - 常规 了解更多信息); |
type
TKeyVerifyParams = record
RegInfo : pointer;
RegInfoLen : dword;
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;
PKeyVerifyParams = ^TKeyVerifyParams;
typedef struct _TKeyVerifyParams
{
char* RegInfo;
DWORD RegInfoLen;
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;
} TKeyVerifyParams, *PKeyVerifyParams;
public struct TKeyVerifyParams
{
public string RegInfo;
public Int32 RegInfoLen;
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;
}
Public Type TKeyVerifyParams
RegInfo As String
RegInfoLen As Long
KeyMode As Long
KeyBase As Long
Key As String
KeyLen As Long
CreationYear As Long
CreationMonth As Long
CreationDay As Long
UseKeyExpiration As Boolean
ExpirationYear As Long
ExpirationMonth As Long
ExpirationDay As Long
UseHardwareLocking As Boolean
HardwareID As String
UseExecutionsLimit As Boolean
ExecutionsCount As Long
UseDaysLimit As Boolean
DaysCount As Long
UseRunTimeLimit As Boolean
RunTimeMinutes As Long
UseGlobalTimeLimit As Boolean
GlobalTimeMinutes As Long
UseCountyLimit As Boolean
CountryCode As Long
UseRegisterAfter As Boolean
RegisterAfterYear As Long
RegisterAfterMonth As Long
RegisterAfterDay As Long
UseRegisterBefore As Boolean
RegisterBeforeYear As Long
RegisterBeforeMonth As Long
RegisterBeforeDay As Long
EncryptedConstant As Long
EncryptedSections(NUMBER_OF_CRYPTED_SECTIONS - 1) As Byte
PublicKey As String
End Type