1gnutls_x509_privkey_get_pk_algorithm(g3n)utglnsutls_x509_privkey_get_pk_algorithm(3)
2
3
4
6 gnutls_x509_privkey_get_pk_algorithm - returns the key's PublicKey
7 algorithm
8
10 #include <gnutls/x509.h>
11
12 int gnutls_x509_privkey_get_pk_algorithm(gnutls_x509_privkey_t key);
13
15 gnutls_x509_privkey_t key
16 should contain a gnutls_x509_privkey_t structure
17
19 This function will return the public key algorithm of a private key.
20
22 a member of the gnutls_pk_algorithm_t enumeration on success, or a neg‐
23 ative value on error.
24
26 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
27 http://www.gnu.org/software/gnutls/ General help using GNU software:
28 http://www.gnu.org/gethelp/
29
31 Copyright © 2008 Free Software Foundation.
32 Copying and distribution of this file, with or without modification,
33 are permitted in any medium without royalty provided the copyright
34 notice and this notice are preserved.
35
37 The full documentation for gnutls is maintained as a Texinfo manual.
38 If the info and gnutls programs are properly installed at your site,
39 the command
40
41 info gnutls
42
43 should give you access to the complete manual.
44
45
46
47gnutls 2.8g.n6utls_x509_privkey_get_pk_algorithm(3)