Cryptographic Token Interface Standard

PKCS#11


CK_INFO Reference

CK_INFO

CK_INFO provides general information about Cryptoki. More...


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...


Detailed Description

CK_INFO

CK_INFO provides general information about Cryptoki. It is defined as follows:
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.

CK_NOTIFICATION

CK_NOTIFICATION enumerates the types of notifications that Cryptoki provides to an application. It is defined as follows:

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.

CK_SLOT_ID

CK_SLOT_ID is a Cryptoki assigned value that identifies a slot. It is defined as follows:

typedef CK_ULONG CK_SLOT_ID;

A CK_SLOT_ID is returned by C_GetSlotList.

CK_SLOT_ID_PTR

CK_SLOT_ID_PTR points to a CK_SLOT_ID. It is implementation dependent.

CK_SLOT_INFO

CK_SLOT_INFO provides information about a slot. It is defined as follows:


Field Documentation

CK_VERSION version
 

Cryptoki interface version number, for compatibility with future revisions of this interface.

CK_CHAR manufacturerID[32]
 

ID of the Cryptoki library manufacturer; must be padded with the blank character (' ').

CK_FLAGS flags
 

bit flags reserved for future versions; must be zero for this version.


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