table of contents
other versions
- wheezy-backports 3.3.8-6~bpo70+1
- jessie 3.3.8-6+deb8u5
- testing 3.5.8-5
- unstable 3.5.8-6
- experimental 3.5.13-1
gnutls_x509_name_constraints_check(3) | gnutls | gnutls_x509_name_constraints_check(3) |
NAME¶
gnutls_x509_name_constraints_check - API functionSYNOPSIS¶
#include <gnutls/x509.h>ARGUMENTS¶
- gnutls_x509_name_constraints_t nc
- the extracted name constraints structure
- gnutls_x509_subject_alt_name_t type
- the type of the constraint to check (of type gnutls_x509_subject_alt_name_t)
- const gnutls_datum_t * name
- the name to be checked
DESCRIPTION¶
This function will check the provided name against the constraints innc using the RFC5280 rules. Currently this function is limited to DNS names and emails (of type GNUTLS_SAN_DNSNAME and GNUTLS_SAN_RFC822NAME).
RETURNS¶
zero if the provided name is not acceptable, and non-zero otherwise.SINCE¶
3.3.0REPORTING BUGS¶
Report bugs to <bugs@gnutls.org>.COPYRIGHT¶
Copyright © 2001-2014 Free Software Foundation, Inc..SEE ALSO¶
The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form visit3.3.8 | gnutls |