1gnutls_x509_crt_get_pk_rsa_raw(3) gnutls gnutls_x509_crt_get_pk_rsa_raw(3)
2
3
4
6 gnutls_x509_crt_get_pk_rsa_raw - This function will export the RSA pub‐
7 lic key
8
10 #include <gnutls/x509.h>
11
12 int gnutls_x509_crt_get_pk_rsa_raw(gnutls_x509_crt_t crt,
13 gnutls_datum_t * m, gnutls_datum_t * e);
14
16 gnutls_x509_crt_t crt
17 Holds the certificate
18
19 gnutls_datum_t * m
20 will hold the modulus
21
22 gnutls_datum_t * e
23 will hold the public exponent
24
26 This function will export the RSA private key's parameters found in the
27 given structure. The new parameters will be allocated using gnutls_mal‐
28 loc() and will be stored in the appropriate datum.
29
31 Report bugs to <bug-gnutls@gnu.org>.
32
34 Copyright © 2006 Free Software Foundation.
35 Permission is granted to make and distribute verbatim copies of this
36 manual provided the copyright notice and this permission notice are
37 preserved on all copies.
38
40 The full documentation for gnutls is maintained as a Texinfo manual.
41 If the info and gnutls programs are properly installed at your site,
42 the command
43
44 info gnutls
45
46 should give you access to the complete manual.
47
48
49
50gnutls 1.6.3 gnutls_x509_crt_get_pk_rsa_raw(3)