Sha256: 86beb4591aaa02303ecaa98b0ad7f2dedf1ca987ad8a327458db6d46cc797483

Contents?: true

Size: 1.38 KB

Versions: 4

Compression:

Stored size: 1.38 KB

Contents

.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
.TH "gnutls_x509_crt_check_hostname" 3 "2.4.2" "gnutls" "gnutls"
.SH NAME
gnutls_x509_crt_check_hostname \- compares the hostname with certificate's hostname
.SH SYNOPSIS
.B #include <gnutls/x509.h>
.sp
.BI "int gnutls_x509_crt_check_hostname(gnutls_x509_crt_t " cert ", const char * " hostname ");"
.SH ARGUMENTS
.IP "gnutls_x509_crt_t cert" 12
should contain an gnutls_x509_crt_t structure
.IP "const char * hostname" 12
A null terminated string that contains a DNS name
.SH "DESCRIPTION"
This function will check if the given certificate's subject matches
the given hostname.  This is a basic implementation of the matching
described in RFC2818 (HTTPS), which takes into account wildcards,
and the DNSName/IPAddress subject alternative name PKIX extension.
.SH "RETURNS"
non zero for a successful match, and zero on failure.
.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_crt_check_hostname.3
glib2-1.1.7-x86-mingw32 vendor/local/share/man/man3/gnutls_x509_crt_check_hostname.3
glib2-1.1.6-x86-mingw32 vendor/local/share/man/man3/gnutls_x509_crt_check_hostname.3
glib2-1.1.5-x86-mingw32 vendor/local/share/man/man3/gnutls_x509_crt_check_hostname.3