~ubuntu-branches/ubuntu/precise/gnutls28/precise

« back to all changes in this revision

Viewing changes to doc/manpages/gnutls_x509_privkey_export_rsa_raw2.3

  • Committer: Package Import Robot
  • Author(s): Andreas Metzler
  • Date: 2011-11-12 17:05:25 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20111112170525-kja1ffsqi68s1kwk
Tags: 3.0.8-1
* Build gnutls with --disable-largefile on armel, armhf and mipsel to fix
  guile related FTBFS on these architectures.
  See http://lists.gnu.org/archive/html/gnutls-devel/2011-10/msg00075.html
* New upstream version.
  + Bump shlibs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
2
 
.TH "gnutls_x509_privkey_export_rsa_raw2" 3 "3.0.3" "gnutls" "gnutls"
3
 
.SH NAME
4
 
gnutls_x509_privkey_export_rsa_raw2 \- API function
5
 
.SH SYNOPSIS
6
 
.B #include <gnutls/x509.h>
7
 
.sp
8
 
.BI "int gnutls_x509_privkey_export_rsa_raw2(gnutls_x509_privkey_t " key ", gnutls_datum_t * " m ", gnutls_datum_t * " e ", gnutls_datum_t * " d ", gnutls_datum_t * " p ", gnutls_datum_t * " q ", gnutls_datum_t * " u ", gnutls_datum_t * " e1 ", gnutls_datum_t * " e2 ");"
9
 
.SH ARGUMENTS
10
 
.IP "gnutls_x509_privkey_t key" 12
11
 
a structure that holds the rsa parameters
12
 
.IP "gnutls_datum_t * m" 12
13
 
will hold the modulus
14
 
.IP "gnutls_datum_t * e" 12
15
 
will hold the public exponent
16
 
.IP "gnutls_datum_t * d" 12
17
 
will hold the private exponent
18
 
.IP "gnutls_datum_t * p" 12
19
 
will hold the first prime (p)
20
 
.IP "gnutls_datum_t * q" 12
21
 
will hold the second prime (q)
22
 
.IP "gnutls_datum_t * u" 12
23
 
will hold the coefficient
24
 
.IP "gnutls_datum_t * e1" 12
25
 
will hold e1 = d mod (p\-1)
26
 
.IP "gnutls_datum_t * e2" 12
27
 
will hold e2 = d mod (q\-1)
28
 
.SH "DESCRIPTION"
29
 
This function will export the RSA private key's parameters found
30
 
in the given structure. The new parameters will be allocated using
31
 
\fBgnutls_malloc()\fP and will be stored in the appropriate datum.
32
 
.SH "RETURNS"
33
 
On success, \fBGNUTLS_E_SUCCESS\fP (0) is returned, otherwise a
34
 
negative error value.
35
 
.SH "SINCE"
36
 
2.12.0
37
 
.SH "REPORTING BUGS"
38
 
Report bugs to <bug-gnutls@gnu.org>.
39
 
GnuTLS home page: http://www.gnu.org/software/gnutls/
40
 
General help using GNU software: http://www.gnu.org/gethelp/
41
 
.SH COPYRIGHT
42
 
Copyright \(co 2008 Free Software Foundation.
43
 
.br
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
 
.SH "SEE ALSO"
48
 
The full documentation for
49
 
.B gnutls
50
 
is maintained as a Texinfo manual.  If the
51
 
.B info
52
 
and
53
 
.B gnutls
54
 
programs are properly installed at your site, the command
55
 
.IP
56
 
.B info gnutls
57
 
.PP
58
 
should give you access to the complete manual.