gnutls_certificate_set_x509_key



gnutls_certificate_set_x509_key

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
RETURNS
SINCE
REPORTING BUGS
COPYRIGHT
SEE ALSO

NAME

gnutls_certificate_set_x509_key − API function

SYNOPSIS

#include <gnutls/gnutls.h>

int gnutls_certificate_set_x509_key(gnutls_certificate_credentials_t res, gnutls_x509_crt_t * cert_list, int cert_list_size, gnutls_x509_privkey_t key);

ARGUMENTS

gnutls_certificate_credentials_t res

is a gnutls_certificate_credentials_t structure.

gnutls_x509_crt_t * cert_list

contains a certificate list (path) for the specified private key

int cert_list_size

holds the size of the certificate list

gnutls_x509_privkey_t key

is a gnutls_x509_privkey_t key

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. For clients that wants to send more than its own end entity certificate (e.g., also an intermediate CA cert) then put the certificate chain in cert_list.

RETURNS

GNUTLS_E_SUCCESS (0) on success, or a negative error code.

SINCE

2.4.0

REPORTING BUGS

Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page: http://www.gnu.org/software/gnutls/ General help using GNU software: http://www.gnu.org/gethelp/

COPYRIGHT

Copyright © 2008 Free Software Foundation.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.

SEE ALSO

The full documentation for gnutls is maintained as a Texinfo manual. If the info and gnutls programs are properly installed at your site, the command

info gnutls

should give you access to the complete manual.



More Linux Commands

manpages/keyctl_read.3.html
keyctl_read(3) - Read a key (Library - Linux man page)......
keyctl_read() reads the payload of a key if the key type supports it. The caller must have read permission on a key to be able to read it. buffer and buflen spe

manpages/perl5120delta.1.html
perl5120delta(1) - what is new for perl v5.12.0 (Man Page)
This document describes differences between the 5.10.0 release and the 5.12.0 release. Many of the bug fixes in 5.12.0 are already included in the 5.10.1 mainte

manpages/ksh93.1ast.html
ksh93(1ast) KornShell, a standard restricted command and pro
Ksh is a command and programming language that executes commands read from a terminal or a file. Rksh is a restricted version of the command interpreter ksh; it

manpages/symcryptrun.1.html
symcryptrun(1) - Call a simple symmetric encryption tool....
Sometimes simple encryption tools are already in use for a long time and there might be a desire to integrate them into the GnuPG framework. The protocols and e

manpages/_traceattr2.3ncurses.html
_traceattr2(3ncurses) - curses debugging routines (ManPage)
The trace routines are used for debugging the ncurses libraries, as well as applications which use the ncurses libraries. These functions are normally available

manpages/uuid_unparse.3.html
uuid_unparse(3) - convert an UUID from binary representation
The uuid_unparse function converts the supplied UUID uu from the binary representation into a 36-byte string (plus tailing \0) of the form 1b4e28ba-2fa1-11d2-88

manpages/gnutls_perror.3.html
gnutls_perror(3) - API function (Library - Linux man page)
This function is like perror(). The only difference is that it accepts an error number returned by a gnutls function. REPORTING BUGS Report bugs to &lt;bug-gnutls@

manpages/r128.4.html
r128(4) - ATI Rage 128 video driver - Linux manual page.....
r128 is an Xorg driver for ATI Rage 128 based video cards. It contains full support for 8, 15, 16 and 24 bit pixel depths, hardware acceleration of drawing prim

manpages/Tcl_NewStringObj.3.html
Tcl_NewStringObj(3) - manipulate Tcl objects as strings.....
The procedures described in this manual entry allow Tcl objects to be manipulated as string values. They use the internal representation of the object to store

manpages/XkbComputeSectionBounds.3.html
XkbComputeSectionBounds(3) - Update the bounding box of a se
If you add or delete a row to or from a section, or if you change the geometry of any of the rows in that section, you may need to update the bounding box for t

manpages/isinf.3.html
isinf(3) - floating-point classification macros (Man Page)
Floating point numbers can have special values, such as infinite or NaN. With the macro fpclassify(x) you can find out what type x is. The macro takes any float

manpages/Tcl_GetEncodingFromObj.3.html
Tcl_GetEncodingFromObj(3) - procedures for creating and usin
Tcl_GetEncoding finds an encoding given its name. The name may refer to a built-in Tcl encoding, a user-defined encoding registered by calling Tcl_CreateEncodin





We can't live, work or learn in freedom unless the software we use is free.