CKR_CANT_LOCK: This value can only be returned by C_Initialize.CKR_BUFFER_TOO_SMALL: The output of the function is too large to fit in the supplied buffer.CKR_ATTRIBUTE_VALUE_INVALID: An invalid value was specified for a particular attribute in a template.
Except as mentioned in the descriptions of particular error codes, there are in general no particular priorities among the errors listed below, i.e., if more than one error code might apply to an execution of a function, then the function may return any applicable error code. All other Cryptoki function return values Cryptographic Token Interface StandardĪll other Cryptoki function return valuesĭescriptions of the other Cryptoki function return values follow.