1gnutls_x509_privkey_get_pk_algorithm(g3n)utglnsutls_x509_privkey_get_pk_algorithm(3)
2
3
4
6 gnutls_x509_privkey_get_pk_algorithm - This function returns the key's
7 PublicKey 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
21 Returns a member of the gnutls_pk_algorithm_t enumeration on success,
22 or a negative value on error.
23
25 Report bugs to <bug-gnutls@gnu.org>.
26
28 Copyright © 2006 Free Software Foundation.
29 Permission is granted to make and distribute verbatim copies of this
30 manual provided the copyright notice and this permission notice are
31 preserved on all copies.
32
34 The full documentation for gnutls is maintained as a Texinfo manual.
35 If the info and gnutls programs are properly installed at your site,
36 the command
37
38 info gnutls
39
40 should give you access to the complete manual.
41
42
43
44gnutls 1.6g.n3utls_x509_privkey_get_pk_algorithm(3)