Blame doc/manpages/gnutls_x509_name_constraints_get_permitted.3

Packit 549fdc
.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
Packit 549fdc
.TH "gnutls_x509_name_constraints_get_permitted" 3 "3.6.2" "gnutls" "gnutls"
Packit 549fdc
.SH NAME
Packit 549fdc
gnutls_x509_name_constraints_get_permitted \- API function
Packit 549fdc
.SH SYNOPSIS
Packit 549fdc
.B #include <gnutls/x509.h>
Packit 549fdc
.sp
Packit 549fdc
.BI "int gnutls_x509_name_constraints_get_permitted(gnutls_x509_name_constraints_t " nc ", unsigned " idx ", unsigned * " type ", gnutls_datum_t * " name ");"
Packit 549fdc
.SH ARGUMENTS
Packit 549fdc
.IP "gnutls_x509_name_constraints_t nc" 12
Packit 549fdc
the extracted name constraints
Packit 549fdc
.IP "unsigned idx" 12
Packit 549fdc
the index of the constraint
Packit 549fdc
.IP "unsigned * type" 12
Packit 549fdc
the type of the constraint (of type gnutls_x509_subject_alt_name_t)
Packit 549fdc
.IP "gnutls_datum_t * name" 12
Packit 549fdc
the name in the constraint (of the specific type)
Packit 549fdc
.SH "DESCRIPTION"
Packit 549fdc
This function will return an intermediate type containing
Packit 549fdc
the name constraints of the provided CA certificate. That
Packit 549fdc
structure can be used in combination with \fBgnutls_x509_name_constraints_check()\fP
Packit 549fdc
to verify whether a server's name is in accordance with the constraints.
Packit 549fdc
Packit 549fdc
The name should be treated as constant and valid for the lifetime of  \fInc\fP .
Packit 549fdc
.SH "RETURNS"
Packit 549fdc
On success, \fBGNUTLS_E_SUCCESS\fP (0) is returned, \fBGNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE\fP
Packit 549fdc
if the extension is not present, otherwise a negative error value.
Packit 549fdc
.SH "SINCE"
Packit 549fdc
3.3.0
Packit 549fdc
.SH "REPORTING BUGS"
Packit 549fdc
Report bugs to <bugs@gnutls.org>.
Packit 549fdc
.br
Packit 549fdc
Home page: http://www.gnutls.org
Packit 549fdc
Packit 549fdc
.SH COPYRIGHT
Packit 549fdc
Copyright \(co 2001-2018 Free Software Foundation, Inc., and others.
Packit 549fdc
.br
Packit 549fdc
Copying and distribution of this file, with or without modification,
Packit 549fdc
are permitted in any medium without royalty provided the copyright
Packit 549fdc
notice and this notice are preserved.
Packit 549fdc
.SH "SEE ALSO"
Packit 549fdc
The full documentation for
Packit 549fdc
.B gnutls
Packit 549fdc
is maintained as a Texinfo manual.
Packit 549fdc
If the /usr/share/doc/gnutls/
Packit 549fdc
directory does not contain the HTML form visit
Packit 549fdc
.B
Packit 549fdc
.IP http://www.gnutls.org/manual/
Packit 549fdc
.PP