keyhole logo

Functions
hx509 crypto functions

Functions

int hx509_verify_signature (hx509_context context, const hx509_cert signer, const AlgorithmIdentifier *alg, const heim_octet_string *data, const heim_octet_string *sig)
 

Detailed Description

Function Documentation

◆ hx509_verify_signature()

int hx509_verify_signature ( hx509_context  context,
const hx509_cert  signer,
const AlgorithmIdentifier *  alg,
const heim_octet_string *  data,
const heim_octet_string *  sig 
)

Verify a signature made using the private key of an certificate.

Parameters
contextA hx509 context.
signerthe certificate that made the signature.
algalgorthm that was used to sign the data.
datathe data that was signed.
sigthe sigature to verify.
Returns
An hx509 error code, see hx509_get_error_string().

Generated on Tue Nov 15 2022 14:04:25 for Heimdal x509 library by doxygen 1.9.1