2.2.2.3.4 LICENSE

The LICENSE structure defines the license portion of a version 1 certified license.

 typedef struct {
   BYTE licVersion[4];
   BYTE dataLen[4];
   BYTE sign[40];
   LICENSEDATA ld;
 } LICENSE;

licVersion: A 4-byte buffer that contains the license version. This value MUST contain {0x00, 0x01, 0x00, 0x00}.

dataLen: A 4-byte buffer that contains the size of the ld field, in bytes, as a sequence of four hexadecimal values (this is a DWORD that is stored in little-endian order). For example, if ld is 300 bytes (0x12c bytes), this field contains {0x2C, 0x01, 0x00, 0x00}.

sign: A 40-byte buffer that contains the signature of the ld member. This signature is created by using ECDSA over curve ECC1. The key that is used to sign this data is the private key of cert1 in the enclosing CERTIFIED_LICENSE structure (KL).

ld: A LICENSEDATA structure that contains the license data, including the digital rights and security data.

Cryptographic Sequence:

sign = [ld]KL