gnutls_sign_get_pk_algorithm3
Api function
Usage
#include <gnutls/gnutls.h>
gnutls_pk_algorithm_t gnutls_sign_get_pk_algorithm(gnutls_sign_algorithm_t sign);
Arguments
- gnutls_sign_algorithm_t sign
-
is a signature algorithm
Overview
This function returns the public key algorithm corresponding to the given signature algorithms. Note that there may be multiple public key algorithms supporting a particular signature type; when dealing with such algorithms use instead gnutls_sign_supports_pk_algorithm().
Since
3.1.1
Returns
return a gnutls_pk_algorithm_t value, or GNUTLS_PK_UNKNOWN on error.
Releases
7 releases since Debian 8 (Jessie); the text changed 6 times.