table of contents
other versions
- wheezy-backports 3.3.8-6~bpo70+1
- jessie 3.3.8-6+deb8u5
- testing 3.5.8-5
- unstable 3.5.8-6
- experimental 3.5.13-1
gnutls_x509_privkey_import_rsa_raw2(3) | gnutls | gnutls_x509_privkey_import_rsa_raw2(3) |
NAME¶
gnutls_x509_privkey_import_rsa_raw2 - API functionSYNOPSIS¶
#include <gnutls/x509.h>ARGUMENTS¶
- gnutls_x509_privkey_t key
- The structure to store the parsed key
- const gnutls_datum_t * m
- holds the modulus
- const gnutls_datum_t * e
- holds the public exponent
- const gnutls_datum_t * d
- holds the private exponent
- const gnutls_datum_t * p
- holds the first prime (p)
- const gnutls_datum_t * q
- holds the second prime (q)
- const gnutls_datum_t * u
- holds the coefficient (optional)
- const gnutls_datum_t * e1
- holds e1 = d mod (p-1) (optional)
- const gnutls_datum_t * e2
- holds e2 = d mod (q-1) (optional)
DESCRIPTION¶
This function will convert the given RSA raw parameters to the native gnutls_x509_privkey_t format. The output will be stored inkey .
RETURNS¶
On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value.REPORTING BUGS¶
Report bugs to <bugs@gnutls.org>.COPYRIGHT¶
Copyright © 2001-2014 Free Software Foundation, Inc..SEE ALSO¶
The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form visit3.3.8 | gnutls |