Bit flag specifying mechanism capabilities
ID of PKCS#11 object
PKCS#11 module
The maximum size of the key for the mechanism
whether this is measured in bits or in bytes is mechanism-dependent
The minimum size of the key for the mechanism
whether this is measured in bits or in bytes is mechanism-dependent
Protected
slotThe ID of the token’s slot
The mechanism type number
Returns string name from MechanismEnum. For unregistered mechanism returns string unknown
.
To register a custom mechanism in MechanismEnum use Mechanism.vendor static function
Protected
getStatic
createCreates PKCS#11 mechanism structure from MechanismType
Mechanism type
Static
vendorAdds a vendor mechanisms to MechanismEnum from the specified file
Path to JSON file with vendor mechanisms
Adds a vendor mechanism to MechanismEnum
Mechanism name
Mechanism value
Represents a PKCS#11 mechanism