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

type C_EncryptInit = extern "C" fn(hSession: CK_SESSION_HANDLE, pMechanism: CK_MECHANISM_PTR, hKey: CK_OBJECT_HANDLE) -> CK_RV;

C_EncryptInit initializes an encryption operation.

Function Parameters

  • hSession: the session's handle
  • pMechanism: the encryption mechanism
  • hKey: handle of encryption key