CK_DECLARE_FUNCTION | ( | CK_RV | , |
P6R_Conversions | |||
) |
P6R_Conversions is used to convert representations of PKCS#11 attributes and objects into more recent versions of KMIP (e.g., support KMIP 1.4 Sensitive attribute).
For this function to work propery the following conditions must be satisfied: 1) The hSession parameter must specify a session for a KMIP token (otherwise CKR_TOKEN_NOT_RECOGNIZED is returned) 2) The CKU_USER must be logged in with read/write access (otherwise CKR_USER_NOT_LOGGED_IN is returned)
Return value: CKR_CRYPTOKI_NOT_INITIALIZED, CKR_ARGUMENTS_BAD, CKR_USER_NOT_LOGGED_IN, CKR_SESSION_HANDLE_INVALID, CKR_FUNCTION_FAILED, CKR_TOKEN_NOT_RECOGNIZED, CKR_OK