1gnutls_x509_privkey_get_pk_algorithm2g(n3ug)tnlustls_x509_privkey_get_pk_algorithm2(3)
2
3
4
6 gnutls_x509_privkey_get_pk_algorithm2 - API function
7
9 #include <gnutls/x509.h>
10
11 int gnutls_x509_privkey_get_pk_algorithm2(gnutls_x509_privkey_t key,
12 unsigned int * bits);
13
15 gnutls_x509_privkey_t key
16 should contain a gnutls_x509_privkey_t type
17
18 unsigned int * bits
19 The number of bits in the public key algorithm
20
22 This function will return the public key algorithm of a private key.
23
25 a member of the gnutls_pk_algorithm_t enumeration on success, or a neg‐
26 ative error code on error.
27
29 Report bugs to <bugs@gnutls.org>.
30 Home page: http://www.gnutls.org
31
32
34 Copyright © 2001-2018 Free Software Foundation, Inc., and others.
35 Copying and distribution of this file, with or without modification,
36 are permitted in any medium without royalty provided the copyright
37 notice and this notice are preserved.
38
40 The full documentation for gnutls is maintained as a Texinfo manual.
41 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
42 visit
43
44 http://www.gnutls.org/manual/
45
46gnutls 3.g6n.u5tls_x509_privkey_get_pk_algorithm2(3)