1gnutls_x509_crq_set_key_rsa_raw(3) gnutls gnutls_x509_crq_set_key_rsa_raw(3)
2
3
4
6 gnutls_x509_crq_set_key_rsa_raw - associate Certificate request with a
7 key
8
10 #include <gnutls/x509.h>
11
12 int gnutls_x509_crq_set_key_rsa_raw(gnutls_x509_crq_t crq, const
13 gnutls_datum_t * m, const gnutls_datum_t * e);
14
16 gnutls_x509_crq_t crq
17 should contain a gnutls_x509_crq_t structure
18
19 const gnutls_datum_t * m
20 holds the modulus
21
22 const gnutls_datum_t * e
23 holds the public exponent
24
26 This function will set the public parameters from the given private key
27 to the request. Only RSA keys are currently supported.
28
30 On success, GNUTLS_E_SUCCESS is returned, otherwise a negative error
31 value.
32
34 2.6.0
35
37 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
38 http://www.gnu.org/software/gnutls/ General help using GNU software:
39 http://www.gnu.org/gethelp/
40
42 Copyright © 2008 Free Software Foundation.
43 Copying and distribution of this file, with or without modification,
44 are permitted in any medium without royalty provided the copyright
45 notice and this notice are preserved.
46
48 The full documentation for gnutls is maintained as a Texinfo manual.
49 If the info and gnutls programs are properly installed at your site,
50 the command
51
52 info gnutls
53
54 should give you access to the complete manual.
55
56
57
58gnutls 2.8.6 gnutls_x509_crq_set_key_rsa_raw(3)