Cryptographic Token Interface Standard |
PKCS#11 |
Data Fields | |
CK_VERSION | version |
Cryptoki interface version number, for compatibility with future revisions of this interface. More... | |
CK_CHAR | manufacturerID [32] |
ID of the Cryptoki library manufacturer; must be padded with the blank character (' '). More... | |
CK_FLAGS | flags |
bit flags reserved for future versions; must be zero for this version. More... |
version | 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 CK_INFO_PTR |
CK_INFO_PTR points to a CK_INFO structure. It is implementation dependent.
typedef enum CK_NOTIFICATION { CKN_SURRENDER, CKN_COMPLETE, CKN_DEVICE_REMOVED } CK_NOTIFICATION;
The notifications have the following meanings:
CKN_SURRENDER Cryptoki is surrendering the execution of a function so that the application may perform other operations. After performing such 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 detected that the device underlying the token has been removed from the reader (assuming the token has the capability)
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. |