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

type C_SignRecover = extern "C" fn(hSession: CK_SESSION_HANDLE, pData: CK_BYTE_PTR, ulDataLen: CK_ULONG, pSignature: CK_BYTE_PTR, pulSignatureLen: CK_ULONG_PTR) -> CK_RV;

C_SignRecover signs data in a single operation, where the data can be recovered from the signature.

Function Parameters

  • hSession: the session's handle
  • pData: the data to sign
  • ulDataLen: count of bytes to sign
  • pSignature: gets the signature
  • pulSignatureLen: gets signature length