![]() | Cryptographic Token Interface Standard |
PKCS#11 |
Clock objects represent real-time clocks that exist on the device. This represents the same clock source as the utcTime field in the CK_TOKEN_INFO structure.
Table 16, Clock Object Attributes
Attribute | Data Type | Meaning |
CKA_VALUE | CK_CHAR[16] | Current time as a character-string of length 16, represented in the format YYYYMMDDhhmmssxx (4 characters for the year; 2 characters each for the month, the day, the hour, the minute, and the second; and 2 additional reserved '0' characters). |
The CKA_VALUE attribute may be set using the C_SetAttributeValue function if permitted by the device. The session used to set the time must be logged in. The device may require the SO to be the user logged in to modify the time value. C_SetAttributeValue will return the error CKR_USER_NOT_LOGGED_IN to indicate that a different user type is required to set the value.