1gnutls_sign_supports_pk_algorithm(3)gnutlsgnutls_sign_supports_pk_algorithm(3)
2
3
4
6 gnutls_sign_supports_pk_algorithm - API function
7
9 #include <gnutls/gnutls.h>
10
11 unsigned gnutls_sign_supports_pk_algorithm(gnutls_sign_algorithm_t
12 sign, gnutls_pk_algorithm_t pk);
13
15 gnutls_sign_algorithm_t sign
16 is a signature algorithm
17
18 gnutls_pk_algorithm_t pk
19 is a public key algorithm
20
22 This function returns non-zero if the public key algorithm corresponds
23 to the given signature algorithm. That is, if that signature can be
24 generated from the given private key algorithm.
25
27 3.6.0
28
30 return non-zero when the provided algorithms are compatible.
31
33 Report bugs to <bugs@gnutls.org>.
34 Home page: https://www.gnutls.org
35
36
38 Copyright © 2001-2019 Free Software Foundation, Inc., and others.
39 Copying and distribution of this file, with or without modification,
40 are permitted in any medium without royalty provided the copyright
41 notice and this notice are preserved.
42
44 The full documentation for gnutls is maintained as a Texinfo manual.
45 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
46 visit
47
48 https://www.gnutls.org/manual/
49
50gnutls 3.6.11gnutls_sign_supports_pk_algorithm(3)