Cryptographic Token Interface Standard

PKCS#11


CK_DATE Reference

CK_DATE

CK_DATE is a structure that defines a date. More...


Data Fields

CK_CHAR year [4]
 the year ("1900" - "9999"). More...

CK_CHAR month [2]
 the month ("01" - "12"). More...

CK_CHAR day [2]
 the day ("01" - "31"). More...


Detailed Description

CK_DATE

CK_DATE is a structure that defines a date. It is defined as follows:
year the year ("1900" - "9999")
month the month ("01" - "12")
day the day ("01" - "31")

The fields hold numeric characters from the character set in Table 3 , not the literal byte values.

When a Cryptoki object carries an attribute of this type, and the default value of the attribute is specified to be "empty," then Cryptoki libraries shall set the attribute's ulValueLen to 0.

Note that implementations of previous versions of Cryptoki may have used other methods to identify an "empty" attribute of type CK_DATE, and that applications that needs to interoperate with these libraries therefore have to be flexible in what they accept as an empty value.


Field Documentation

CK_CHAR year[4]
 

the year ("1900" - "9999").

CK_CHAR month[2]
 

the month ("01" - "12").

CK_CHAR day[2]
 

the day ("01" - "31").


RSA Security Inc. Public-Key Cryptography Standards - PKCS#11 - v230