1gnutls_pk_to_sign(3) gnutls gnutls_pk_to_sign(3)
2
3
4
6 gnutls_pk_to_sign - API function
7
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
15 gnutls_pk_algorithm_t pk
16 is a public key algorithm
17
18 gnutls_digest_algorithm_t hash
19 a hash algorithm
20
22 This function maps public key and hash algorithms combinations to sig‐
23 nature algorithms.
24
26 return a gnutls_sign_algorithm_t value, or GNUTLS_SIGN_UNKNOWN on
27 error.
28
30 Report bugs to <bugs@gnutls.org>.
31 Home page: http://www.gnutls.org
32
33
35 Copyright © 2001-2018 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
38 notice and this notice are preserved.
39
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 http://www.gnutls.org/manual/
46
47gnutls 3.6.5 gnutls_pk_to_sign(3)