xref: /freebsd/crypto/heimdal/doc/doxyout/hx509/man/man3/hx509_crypto.3 (revision bdd1243df58e60e85101c09001d9812a789b6bc4)
"hx509 crypto functions" 3 "11 Jan 2012" "Version 1.5.2" "Heimdalx509library" \" -*- nroff -*-
NAME
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"

"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:

context A hx509 context.

signer the certificate that made the signature.

alg algorthm that was used to sign the data.

data the data that was signed.

sig the sigature to verify.

Returns:

An hx509 error code, see hx509_get_error_string().