[][src]Type Definition pkcs11::functions::C_SetOperationState

type C_SetOperationState = extern "C" fn(hSession: CK_SESSION_HANDLE, pOperationState: CK_BYTE_PTR, ulOperationStateLen: CK_ULONG, hEncryptionKey: CK_OBJECT_HANDLE, hAuthenticationKey: CK_OBJECT_HANDLE) -> CK_RV;

C_SetOperationState restores the state of the cryptographic operation in a session.

Function Paramters

  • hSession: session's handle
  • pOperationState: holds state
  • ulOperationStateLen: holds state length
  • hEncryptionKey: en/decryption key
  • hAuthenticationKey: sign/verify key