Cryptographic Token Interface Standard

PKCS#11


Universal Cryptoki function return values

Any Cryptoki function can return any of the following values:

The relative priorities of these errors are in the order listed above, e.g., if either of CKR_GENERAL_ERROR or CKR_HOST_MEMORY would be an appropriate error return, then CKR_GENERAL_ERROR should be returned.
RSA Security Inc. Public-Key Cryptography Standards - PKCS#11 - v210