Cryptographic Token Interface Standard |
PKCS#11 |
This section defines the object class CKO_MECHANISM for type CK_OBJECT_CLASS as used in the CKA_CLASS attribute of objects.
Mechanism objects provide information about mechanisms supported by a device beyond that given by the CK_MECHANISM_INFO structure.
When searching for objects using C_FindObjectsInit and C_FindObjects, mechanism objects are not returned unless the CKA_CLASS attribute in the template has the value CKO_MECHANISM. This protects applications written to previous versions of cryptoki from finding objects that they do not understand.
Table 33, Common Mechanism Attributes
Attribute | Data Type | Meaning |
CKA_MECHANISM_TYPE | CK_MECHANISM_TYPE | The type of mechanism object |
The CKA_MECHANISM_TYPE attribute may not be set.