Cryptographic Token Interface Standard

PKCS#11


CK_MECHANISM_INFO Reference

CK_MECHANISM_INFO

CK_MECHANISM_INFO is a structure that provides information about a particular mechanism. More...


Data Fields

CK_ULONG ulMinKeySize
 the minimum size of the key for the mechanism. More...

CK_ULONG ulMaxKeySize
 the maximum size of the key for the mechanism. More...

CK_FLAGS flags
 bit flags specifying mechanism capabilities. More...


Detailed Description

CK_MECHANISM_INFO

CK_MECHANISM_INFO is a structure that provides information about a particular mechanism.
ulMinKeySize the minimum size of the key for the mechanism
ulMaxKeySize the maximum size of the key for the mechanism
flags bit flags specifying mechanism capabilities

The flags are defined as follows.

Table 7-4, Mechanism Information FLags
Bit Flag Mask Meaning
CKF_HW 0x0001 TRUE if the mechanism is performed by the device; FALSE if the mechanism is performed in software
CKF_EXTENSION 0x8000 TRUE if an extension to the flags; FALSE if no extensions. Must be FALSE for this version.

CK_MECHANISM_INFO_PTR

CK_MECHANISM_INFO_PTR points to a CK_MECHANISM_INFO structure. It is implementation dependent.

CK_RC2_CBC_PARAMS

CK_RC2_CBC_PARAMS is a structure that provides the parameters to the CKM_RC2_CBC mechanism. It is defined as follows:


Field Documentation

CK_ULONG ulMinKeySize
 

the minimum size of the key for the mechanism.

CK_ULONG ulMaxKeySize
 

the maximum size of the key for the mechanism.

CK_FLAGS flags
 

bit flags specifying mechanism capabilities.


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