Cryptographic Token Interface Standard

PKCS#11


CK_VERSION Reference

CK_VERSION; CK_VERSION_PTR

CK_VERSION is a structure that describes the version of a Cryptoki interface, a Cryptoki library, or an SSL implementation, or the hardware or firmware version of a slot or token. More...


Data Fields

CK_BYTE major
 major version number (the integer portion of the version). More...

CK_BYTE minor
 minor version number (the hundredths portion of the version). More...


Detailed Description

CK_VERSION; CK_VERSION_PTR

CK_VERSION is a structure that describes the version of a Cryptoki interface, a Cryptoki library, or an SSL implementation, or the hardware or firmware version of a slot or token.
major major version number (the integer portion of the version)
minor minor version number (the hundredths portion of the version)
Example:

For version 1.0, ''major'' = 1 and ''minor'' = For version 2.10, ''major'' = 2 and ''minor'' = 10. Table 9 below lists the major and minor version values for the officially published Cryptoki specifications.

Table 9, Major and minor version values for published Cryptoki specifications
Version major minor
1.0 0x01 0x00
2.01 0x02 0x01
2.10 0x02 0x0a
2.11 0x02 0x0b
2.20 0x02 0x14
2.30 0x02 0x1e

Minor revisions of the Cryptoki standard are always upwardly compatible within the same major version number.

CK_VERSION_PTR is a pointer to a CK_VERSION.

CK_INFO; CK_INFO_PTR

CK_INFO provides general information about Cryptoki. It is defined as follows:


Field Documentation

CK_BYTE major
 

major version number (the integer portion of the version).

CK_BYTE minor
 

minor version number (the hundredths portion of the version).


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