1gnutls_sign_get_pk_algorithm(3) gnutls gnutls_sign_get_pk_algorithm(3)
2
3
4
6 gnutls_sign_get_pk_algorithm - API function
7
9 #include <gnutls/gnutls.h>
10
11 gnutls_pk_algorithm_t gnutls_sign_get_pk_algorithm(gnutls_sign_algo‐
12 rithm_t sign);
13
15 gnutls_sign_algorithm_t sign
16 is a signature algorithm
17
19 This function returns the public key algorithm corresponding to the
20 given signature algorithms. Note that there may be multiple public key
21 algorithms supporting a particular signature type; when dealing with
22 such algorithms use instead gnutls_sign_supports_pk_algorithm().
23
25 3.1.1
26
28 return a gnutls_pk_algorithm_t value, or GNUTLS_PK_UNKNOWN on error.
29
31 Report bugs to <bugs@gnutls.org>.
32 Home page: http://www.gnutls.org
33
34
36 Copyright © 2001-2018 Free Software Foundation, Inc., and others.
37 Copying and distribution of this file, with or without modification,
38 are permitted in any medium without royalty provided the copyright
39 notice and this notice are preserved.
40
42 The full documentation for gnutls is maintained as a Texinfo manual.
43 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
44 visit
45
46 http://www.gnutls.org/manual/
47
48gnutls 3.6.5 gnutls_sign_get_pk_algorithm(3)