1gnutls_pk_to_sign(3)                gnutls                gnutls_pk_to_sign(3)
2
3
4

NAME

6       gnutls_pk_to_sign - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       gnutls_sign_algorithm_t   gnutls_pk_to_sign(gnutls_pk_algorithm_t   pk,
12       gnutls_digest_algorithm_t hash);
13

ARGUMENTS

15       gnutls_pk_algorithm_t pk
16                   is a public key algorithm
17
18       gnutls_digest_algorithm_t hash
19                   a hash algorithm
20

DESCRIPTION

22       This function maps public key and hash algorithms combinations to  sig‐
23       nature algorithms.
24

RETURNS

26       return  a  gnutls_sign_algorithm_t value, or GNUTLS_SIGN_UNKNOWN on er‐
27       ror.
28

REPORTING BUGS

30       Report bugs to <bugs@gnutls.org>.
31       Home page: https://www.gnutls.org
32
33
35       Copyright © 2001-2023 Free Software Foundation, Inc., and others.
36       Copying and distribution of this file, with  or  without  modification,
37       are  permitted in any medium without royalty provided the copyright no‐
38       tice and this notice are preserved.
39

SEE ALSO

41       The full documentation for gnutls is maintained as  a  Texinfo  manual.
42       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
43       visit
44
45       https://www.gnutls.org/manual/
46
47gnutls                               3.8.2                gnutls_pk_to_sign(3)
Impressum