Sha256: 2521cb6fcfe610b8b1347c8b1af23f322b4057a2ee08a68421edae1cc070bb67

Contents?: true

Size: 1.74 KB

Versions: 4

Compression:

Stored size: 1.74 KB

Contents

.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
.TH "gnutls_certificate_set_x509_key_file" 3 "2.4.2" "gnutls" "gnutls"
.SH NAME
gnutls_certificate_set_x509_key_file \- Used to set keys in a gnutls_certificate_credentials_t structure
.SH SYNOPSIS
.B #include <gnutls/gnutls.h>
.sp
.BI "int gnutls_certificate_set_x509_key_file(gnutls_certificate_credentials_t           " res ", const char * " CERTFILE ", const char * " KEYFILE ", gnutls_x509_crt_fmt_t " type ");"
.SH ARGUMENTS
.IP "gnutls_certificate_credentials_t           res" 12
is an \fBgnutls_certificate_credentials_t\fP structure.
.IP "const char * CERTFILE" 12
is a file that containing the certificate list (path) for
the specified private key, in PKCS7 format, or a list of certificates
.IP "const char * KEYFILE" 12
is a file that contains the private key
.IP "gnutls_x509_crt_fmt_t type" 12
is PEM or DER
.SH "DESCRIPTION"
This function sets a certificate/private key pair in the
gnutls_certificate_credentials_t structure.  This function may be
called more than once (in case multiple keys/certificates exist
for the server).

Currently only PKCS\-1 encoded RSA and DSA private keys are accepted by
this function.
.SH "RETURNS"
\fBGNUTLS_E_SUCCESS\fP on success, or an error code.
.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_certificate_set_x509_key_file.3
glib2-1.1.7-x86-mingw32 vendor/local/share/man/man3/gnutls_certificate_set_x509_key_file.3
glib2-1.1.6-x86-mingw32 vendor/local/share/man/man3/gnutls_certificate_set_x509_key_file.3
glib2-1.1.5-x86-mingw32 vendor/local/share/man/man3/gnutls_certificate_set_x509_key_file.3