Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CK_DECLARE_FUNCTION ( CK_RV  ,
P6R_GetKMIPClient   
)

P6R_GetKMIPClient is used to obtain a pointer to a P6R KMIP Client object that is actively being used for the specified session.

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