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

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

C_Verify verifies a signature in a single-part operation, where the signature is an appendix to the data, and plaintext cannot be recovered from the signature.

Function Parameters

  • hSession: the session's handle
  • pData: signed data
  • ulDataLen: length of signed data
  • pSignature: signature
  • ulSignatureLen: signature length