Share via


2.2.2.3.2 CERTDATA

The CERTDATA structure defines the data block of a certificate, including the public key, serial number, and certificate issuer.

 typedef struct {
   BYTE pk[40];
   BYTE expiryDate[4];
   DWORD serialNumber;
   DWORD issuer;
   DWORD subject;
 } CERTDATA;

pk: A 40-byte buffer that contains a public key. This is the public portion of a public/private key pair in ECC1. The x-coordinate is stored in bytes 0 – 19; the y-coordinate in bytes 20 – 39.

expiryDate: A 4-byte buffer that contains the date on which the certificate expires. All values are encoded as hexadecimal. The first byte contains the value of the first two digits of the year, the second contains the value of the latter two digits of the year, the third contains the value of the month, and the fourth contains the value of the day. For example, the date 12/30/2002 is represented as {0x14, 0x02, 0x0C, 0x1E}.

serialNumber: A serial number that identifies the certificate.

issuer: A certificate server identifier that is provided by Microsoft.

subject: A number that identifies the subject of the certificate. The subject is provided by Microsoft.