Cryptographic Token Interface Standard

PKCS#11


CK_INFO Reference

CK_INFO; CK_INFO_PTR

CK_INFO provides general information about Cryptoki. More...


Data Fields

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

CK_UTF8CHAR manufacturerID [32]
 ID of the Cryptoki library manufacturer. More...

CK_FLAGS flags
 bit flags reserved for future versions. More...

CK_UTF8CHAR libraryDescription [32]
 character-string description of the library. More...

CK_VERSION libraryVersion
 Cryptoki library version number. More...


Detailed Description

CK_INFO; CK_INFO_PTR

CK_INFO provides general information about Cryptoki. It is defined as follows:
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 (' '). Should ''not'' be null-terminated.
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 (' '). Should ''not'' be null-terminated.
libraryVersion Cryptoki library version number

For libraries written to this document, the value of cryptokiVersion should be 2.1; the value of libraryVersion is the version number of the library software itself.

CK_INFO_PTR is a pointer to a CK_INFO.

CK_NOTIFICATION

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

typedef CK_ULONG CK_NOTIFICATION;

For this version of Cryptoki, the following types of notifications are defined:

#define CKN_SURRENDER 0

The notifications have the following meanings:

CKN_SURRENDER Cryptoki is surrendering the execution of a function executing in a session 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 (see Section 11.17.1).


Field Documentation

CK_VERSION cryptokiVersion
 

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

CK_UTF8CHAR manufacturerID[32]
 

ID of the Cryptoki library manufacturer. Must be padded with the blank character (' '). Should ''not'' be null-terminated.

CK_FLAGS flags
 

bit flags reserved for future versions. Must be zero for this version

CK_UTF8CHAR libraryDescription[32]
 

character-string description of the library. Must be padded with the blank character (' '). Should ''not'' be null-terminated.

CK_VERSION libraryVersion
 

Cryptoki library version number.


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