![]() | Cryptographic Token Interface Standard |
PKCS#11 |
Data Fields | |
CK_VERSION | cryptokiVersion |
Cryptoki interface version number, for compatibility with future revisions of this interface. More... | |
CK_CHAR | manufacturerID [32] |
ID of the Cryptoki library manufacturer. More... | |
CK_FLAGS | flags |
bit flags reserved for future versions. More... | |
CK_CHAR | libraryDescription [32] |
character-string description of the library. More... | |
CK_VERSION | libraryVersion |
Cryptoki library version number. More... |
cryptokiVersion | Cryptoki interface version number, for compatibility with future revisions of this interface |
manufacturerID | ID of the Cryptoki library manufacturer. Must be padded with the blank character (' ') |
flags | bit flags reserved for future versions. Must be zero for this version |
libraryDescription | character-string description of the library. Must be padded with the blank character (' ') |
libraryVersion | Cryptoki library version number |
For libraries written to the Cryptoki v2.0 document, the value of cryptokiVersion should be 2.0; the value of libraryVersion is the version number of the library software itself.
typedef CK_ULONG CK_NOTIFICATION;
For this version of Cryptoki, the following types of notifications are defined:
#define CKN_SURRENDER 0 #define CKN_COMPLETE 1 #define CKN_DEVICE_REMOVED 2 #define CKN_TOKEN_INSERTION 3
The notifications have the following meanings:
CKN_SURRENDER Cryptoki is surrendering the execution of a function executing in serial so that the application may perform other operations. After performing any desired operations, the application should indicate to Cryptoki whether to continue or cancel the function.
CKN_COMPLETE a function running in parallel has completed.
CKN_DEVICE_REMOVED Cryptoki has detected that the device underlying the token has been removed from the reader. Not all slots/tokens support this notification.
CKN_TOKEN_INSERTION Cryptoki has detected that the device underlying the token has been inserted into the reader. Not all slots/tokens support this notification.
Slot and token types
Cryptoki represents slot and token information with the following types:
typedef CK_ULONG CK_SLOT_ID;
A CK_SLOT_ID is returned by C_GetSlotList.
|
Cryptoki interface version number, for compatibility with future revisions of this interface. |
|
ID of the Cryptoki library manufacturer. Must be padded with the blank character (' ') |
|
bit flags reserved for future versions. Must be zero for this version |
|
character-string description of the library. Must be padded with the blank character (' ') |
|
Cryptoki library version number. |