1gnutls_pubkey_export_rsa_raw(3) gnutls gnutls_pubkey_export_rsa_raw(3)
2
3
4
6 gnutls_pubkey_export_rsa_raw - API function
7
9 #include <gnutls/abstract.h>
10
11 int gnutls_pubkey_export_rsa_raw(gnutls_pubkey_t key, gnutls_datum_t *
12 m, gnutls_datum_t * e);
13
15 gnutls_pubkey_t key
16 Holds the certificate
17
18 gnutls_datum_t * m
19 will hold the modulus (may be NULL)
20
21 gnutls_datum_t * e
22 will hold the public exponent (may be NULL)
23
25 This function will export the RSA public key's parameters found in the
26 given structure. The new parameters will be allocated using
27 gnutls_malloc() and will be stored in the appropriate datum.
28
29 This function allows for NULL parameters since 3.4.1.
30
32 GNUTLS_E_SUCCESS on success, otherwise a negative error code.
33
35 3.3.0
36
38 Report bugs to <bugs@gnutls.org>.
39 Home page: http://www.gnutls.org
40
41
43 Copyright © 2001-2018 Free Software Foundation, Inc., and others.
44 Copying and distribution of this file, with or without modification,
45 are permitted in any medium without royalty provided the copyright
46 notice and this notice are preserved.
47
49 The full documentation for gnutls is maintained as a Texinfo manual.
50 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
51 visit
52
53 http://www.gnutls.org/manual/
54
55gnutls 3.6.5 gnutls_pubkey_export_rsa_raw(3)