1gnutls_x509_privkey_import_rsa_raw(3)gnutlsgnutls_x509_privkey_import_rsa_raw(3)
2
3
4
6 gnutls_x509_privkey_import_rsa_raw - This function will import a raw
7 RSA key
8
10 #include <gnutls/x509.h>
11
12 int gnutls_x509_privkey_import_rsa_raw(gnutls_x509_privkey_t key, const
13 gnutls_datum_t * m, const gnutls_datum_t * e, const gnutls_datum_t * d,
14 const gnutls_datum_t * p, const gnutls_datum_t * q, const
15 gnutls_datum_t * u);
16
18 gnutls_x509_privkey_t key
19 The structure to store the parsed key
20
21 const gnutls_datum_t * m
22 holds the modulus
23
24 const gnutls_datum_t * e
25 holds the public exponent
26
27 const gnutls_datum_t * d
28 holds the private exponent
29
30 const gnutls_datum_t * p
31 holds the first prime (p)
32
33 const gnutls_datum_t * q
34 holds the second prime (q)
35
36 const gnutls_datum_t * u
37 holds the coefficient
38
40 This function will convert the given RSA raw parameters to the native
41 gnutls_x509_privkey_t format. The output will be stored in key.
42
44 Report bugs to <bug-gnutls@gnu.org>.
45
47 Copyright © 2006 Free Software Foundation.
48 Permission is granted to make and distribute verbatim copies of this
49 manual provided the copyright notice and this permission notice are
50 preserved on all copies.
51
53 The full documentation for gnutls is maintained as a Texinfo manual.
54 If the info and gnutls programs are properly installed at your site,
55 the command
56
57 info gnutls
58
59 should give you access to the complete manual.
60
61
62
63gnutls 1.6.3gnutls_x509_privkey_import_rsa_raw(3)