gnutls_x509_crt_list_verify
NAMESYNOPSIS
ARGUMENTS
DESCRIPTION
RETURNS
REPORTING BUGS
COPYRIGHT
SEE ALSO
NAME
gnutls_x509_crt_list_verify − API function
SYNOPSIS
#include <gnutls/x509.h>
int gnutls_x509_crt_list_verify(const gnutls_x509_crt_t * cert_list, int cert_list_length, const gnutls_x509_crt_t * CA_list, int CA_list_length, const gnutls_x509_crl_t * CRL_list, int CRL_list_length, unsigned int flags, unsigned int * verify);
ARGUMENTS
const gnutls_x509_crt_t * cert_list
is the certificate list to be verified
int cert_list_length
holds the number of certificate in cert_list
const gnutls_x509_crt_t * CA_list
is the CA list which will be used in verification
int CA_list_length
holds the number of CA certificate in CA_list
const gnutls_x509_crl_t * CRL_list
holds a list of CRLs.
int CRL_list_length
the length of CRL list.
unsigned int flags
Flags that may be used to change the verification algorithm. Use OR of the gnutls_certificate_verify_flags enumerations.
unsigned int * verify
will hold the certificate verification output.
DESCRIPTION
This function will try to verify the given certificate list and return its status. If no flags are specified (0), this function will use the basicConstraints (2.5.29.19) PKIX extension. This means that only a certificate authority is allowed to sign a certificate.
You must also check the peer’s name in order to check if the verified certificate belongs to the actual peer.
The certificate verification output will be put in verify and will be one or more of the gnutls_certificate_status_t enumerated elements bitwise or’d. For a more detailed verification status use gnutls_x509_crt_verify() per list element.
RETURNS
On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value.
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/cfsetispeed.3.html
cfsetispeed(3) - get and set terminal attributes, line contr
The termios functions describe a general terminal interface that is provided to control asynchronous communications ports. The termios structure Many of the fun
manpages/j1.3.html
j1(3) - Bessel functions of the first kind - Linux man page
The j0() and j1() functions return Bessel functions of x of the first kind of orders 0 and 1, respectively. The jn() function returns the Bessel function of x o
manpages/filesystems.5.html
filesystems(5) - Linux file-system types: minix, ext, ext2,
When, as is customary, the proc filesystem is mounted on /proc, you can find in the file /proc/filesystems which filesystems your kernel currently supports; see
manpages/open_source.html
301 Moved Permanently - open source
manpages/Apache::Reload.3pm.html
Apache::Reload(3pm) - Reload changed modules (Man Page).....
This module is two things. First it is an adaptation of Randal Schwartzs Stonehenge::Reload module that attempts to be a little more intuitive and makes the usa
manpages/wcspbrk.3.html
wcspbrk(3) - search a wide-character string for any of a set
The wcspbrk() function is the wide-character equivalent of the strpbrk(3) function. It searches for the first occurrence in the wide-character string pointed to
manpages/optionFindNextValue.3.html
optionFindNextValue(3) find a hierarcicaly valued option ins
This routine will find the next entry in a nested value option or configurable. It will search through the list and return the next entry that matches the crite
manpages/Encode::Encoder.3pm.html
Encode::Encoder(3pm) - Object Oriented Encoder (Man Page)...
Here is how to use this module. * There are at least two instance variables stored in a hash reference, {data} and {encoding}. * When there is no method, it tak
manpages/getipnodebyname.3.html
getipnodebyname(3) - get network hostnames and addresses....
These functions are deprecated (and unavailable in glibc). Use getaddrinfo(3) and getnameinfo(3) instead. The getipnodebyname() and getipnodebyaddr() functions
manpages/FcUtf8ToUcs4.3.html
FcUtf8ToUcs4(3) - convert UTF-8 to UCS4 - Linux manual page
Converts the next Unicode char from src into dst and returns the number of bytes containing the char. src must be at least len bytes long. VERSION Fontconfig ve
manpages/Tk_GetSelection.3.html
Tk_GetSelection(3) - retrieve the contents of a selection...
Tk_GetSelection retrieves the selection specified by the atom selection in the format specified by target. The selection may actually be retrieved in several pi
manpages/is_keypad.3ncurses.html
is_keypad(3ncurses) - curses window properties (Man Page)...
This implementation provides functions which return properties set in the WINDOW structure, allowing it to be opaque if the symbol NCURSES_OPAQUE is defined: is
