diff options
Diffstat (limited to 'doc/functions/gnutls_pk_to_sign')
-rw-r--r-- | doc/functions/gnutls_pk_to_sign | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/functions/gnutls_pk_to_sign b/doc/functions/gnutls_pk_to_sign new file mode 100644 index 0000000..b661767 --- /dev/null +++ b/doc/functions/gnutls_pk_to_sign @@ -0,0 +1,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 |