carta
gnutls_x509_crt_get_verify_algorithm(3)

gnutls_x509_crt_get_verify_algorithm3

Api function

Arguments

gnutls_x509_crt_t crt

Holds the certificate

const gnutls_datum_t * signature

contains the signature

gnutls_digest_algorithm_t * hash

The result of the call with the hash algorithm used for signature

Overview

This function will read the certifcate and the signed data to determine the hash algorithm used to generate the signature.

Deprecated

Use gnutls_pubkey_get_verify_algorithm() instead.

Returns

the 0 if the hash algorithm is found. A negative error code is returned on error.

Since

2.8.0

History

  • Debian 8 (Jessie): the text shown here
  • Debian 6.0 (Squeeze)

Reporting bugs

Report bugs to <[email protected]>.
Home page: http://www.gnutls.org

From gnutls-doc 3.3.8-6+deb8u7 in Debian 8 (Jessie). Parsed by carta from the page's man source.