summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_pk_to_sign
blob: b661767c29b01fe7d42b58ceb83e7379f5a3a823 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
@deftypefun {gnutls_sign_algorithm_t} {gnutls_pk_to_sign} (gnutls_pk_algorithm_t @var{pk}, gnutls_digest_algorithm_t @var{hash})
@var{pk}: is a public key algorithm

@var{hash}: a hash algorithm

This function maps public key and hash algorithms combinations
to signature algorithms.

@strong{Returns:} return a @code{gnutls_sign_algorithm_t}  value, or @code{GNUTLS_SIGN_UNKNOWN}  on error.
@end deftypefun