Sha256: 67d87ae3edd66087eed910d906a8a5124241e3b60c1e4386ba5be358e2b32032

Contents?: true

Size: 1.44 KB

Versions: 4

Compression:

Stored size: 1.44 KB

Contents

.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
.TH "gnutls_x509_privkey_import" 3 "2.4.2" "gnutls" "gnutls"
.SH NAME
gnutls_x509_privkey_import \- import a DER or PEM encoded key
.SH SYNOPSIS
.B #include <gnutls/x509.h>
.sp
.BI "int gnutls_x509_privkey_import(gnutls_x509_privkey_t " key ", const gnutls_datum_t * " data ", gnutls_x509_crt_fmt_t " format ");"
.SH ARGUMENTS
.IP "gnutls_x509_privkey_t key" 12
The structure to store the parsed key
.IP "const gnutls_datum_t * data" 12
The DER or PEM encoded certificate.
.IP "gnutls_x509_crt_fmt_t format" 12
One of DER or PEM
.SH "DESCRIPTION"
This function will convert the given DER or PEM encoded key to the
native \fBgnutls_x509_privkey_t\fP format. The output will be stored in
\fIkey\fP .

If the key is PEM encoded it should have a header of "RSA PRIVATE
KEY", or "DSA PRIVATE KEY".
.SH "RETURNS"
On success, \fBGNUTLS_E_SUCCESS\fP is returned, otherwise a
negative error value.
.SH "REPORTING BUGS"
Report bugs to <bug-gnutls@gnu.org>.
.SH COPYRIGHT
Copyright \(co 2008 Free Software Foundation.
.br
Permission is granted to make and distribute verbatim copies of this
manual provided the copyright notice and this permission notice are
preserved on all copies.
.SH "SEE ALSO"
The full documentation for
.B gnutls
is maintained as a Texinfo manual.  If the
.B info
and
.B gnutls
programs are properly installed at your site, the command
.IP
.B info gnutls
.PP
should give you access to the complete manual.

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
glib2-1.1.8-x86-mingw32 vendor/local/share/man/man3/gnutls_x509_privkey_import.3
glib2-1.1.7-x86-mingw32 vendor/local/share/man/man3/gnutls_x509_privkey_import.3
glib2-1.1.6-x86-mingw32 vendor/local/share/man/man3/gnutls_x509_privkey_import.3
glib2-1.1.5-x86-mingw32 vendor/local/share/man/man3/gnutls_x509_privkey_import.3