gnutls_pubkey_get_preferred_hash_algorithm (3) Linux Manual Page
NAME gnutls_pubkey_get_preferred_hash_algorithm – API function SYNOPSIS #include <gnutls/abstract.h> int gnutls_pubkey_get_preferred_hash_algorithm(gnutls_pubkey_t key, gnutls_digest_algorithm_t * hash, unsigned int * mand); ARGUMENTS gnutls_pubkey_t key Holds the certificate gnutls_digest_algorithm_t * hash The result of the call with the hash algorithm used for signature unsigned int * mand If non zero it means that the algorithm MUST use this hash….
