Imported Upstream version 3.4.11
[platform/upstream/gnutls.git] / doc / manpages / gnutls_openpgp_crt_get_subkey_pk_rsa_raw.3
1 .\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
2 .TH "gnutls_openpgp_crt_get_subkey_pk_rsa_raw" 3 "3.4.11" "gnutls" "gnutls"
3 .SH NAME
4 gnutls_openpgp_crt_get_subkey_pk_rsa_raw \- API function
5 .SH SYNOPSIS
6 .B #include <gnutls/openpgp.h>
7 .sp
8 .BI "int gnutls_openpgp_crt_get_subkey_pk_rsa_raw(gnutls_openpgp_crt_t " crt ", unsigned int " idx ", gnutls_datum_t * " m ", gnutls_datum_t * " e ");"
9 .SH ARGUMENTS
10 .IP "gnutls_openpgp_crt_t crt" 12
11 Holds the certificate
12 .IP "unsigned int idx" 12
13 Is the subkey index
14 .IP "gnutls_datum_t * m" 12
15 will hold the modulus
16 .IP "gnutls_datum_t * e" 12
17 will hold the public exponent
18 .SH "DESCRIPTION"
19 This function will export the RSA public key's parameters found in
20 the given structure.  The new parameters will be allocated using
21 \fBgnutls_malloc()\fP and will be stored in the appropriate datum.
22 .SH "RETURNS"
23 \fBGNUTLS_E_SUCCESS\fP on success, otherwise a negative error code.
24 .SH "SINCE"
25 2.4.0
26 .SH "REPORTING BUGS"
27 Report bugs to <bugs@gnutls.org>.
28 .br
29 Home page: http://www.gnutls.org
30
31 .SH COPYRIGHT
32 Copyright \(co 2001-2016 Free Software Foundation, Inc., and others.
33 .br
34 Copying and distribution of this file, with or without modification,
35 are permitted in any medium without royalty provided the copyright
36 notice and this notice are preserved.
37 .SH "SEE ALSO"
38 The full documentation for
39 .B gnutls
40 is maintained as a Texinfo manual.
41 If the /usr/share/doc/gnutls/
42 directory does not contain the HTML form visit
43 .B
44 .IP http://www.gnutls.org/manual/
45 .PP