keyhole logo


hx509 crypto 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)

Function Documentation

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.

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.
An hx509 error code, see hx509_get_error_string().

Generated on Fri Dec 6 2013 08:15:56 for Heimdalx509library by doxygen 1.7.2