gnutls_x509_crq_get_basic_constraints



gnutls_x509_crq_get_basic_constraints

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
RETURNS
SINCE
REPORTING BUGS
COPYRIGHT
SEE ALSO

NAME

gnutls_x509_crq_get_basic_constraints − API function

SYNOPSIS

#include <gnutls/x509.h>

int gnutls_x509_crq_get_basic_constraints(gnutls_x509_crq_t crq, unsigned int * critical, unsigned int * ca, int * pathlen);

ARGUMENTS

gnutls_x509_crq_t crq

should contain a gnutls_x509_crq_t structure

unsigned int * critical

will be non (0) if the extension is marked as critical

unsigned int * ca

pointer to output integer indicating CA status, may be NULL, value is 1 if the certificate CA flag is set, 0 otherwise.

int * pathlen

pointer to output integer indicating path length (may be NULL), non−negative error codes indicate a present pathLenConstraint field and the actual value, −1 indicate that the field is absent.

DESCRIPTION

This function will read the certificate’s basic constraints, and return the certificates CA status. It reads the basicConstraints X.509 extension (2.5.29.19).

RETURNS

If the certificate is a CA a positive value will be returned, or (0) if the certificate does not have CA flag set. A negative error code may be returned in case of errors. If the certificate does not contain the basicConstraints extension GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE will be returned.

SINCE

2.8.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/mono-configuration-crypto.html
mono-configuration-crypto
mono-configuration-crypto

manpages/Tk_Depth.3.html
Tk_Depth(3) - retrieve information from Tk's local data stru
Tk_WindowId and the other names listed above are all macros that return fields from Tks local data structure for tkwin. None of these macros requires any intera

manpages/XpCancelDoc.3x.html
XpCancelDoc(3x) - Cancels a print document. - Linux man page
XpCancelDoc cancels an in-progress document. If the job was started with output_mode XPGetData then the data stream to XpGetDocumentData is interrupted; no furt

manpages/aulast.8.html
aulast(8) a program similar to last - Linux manual page.....
aulast is a program that prints out a listing of the last logged in users similarly to the program last and lastb. Aulast searches back through the audit logs o

manpages/apxs2.8.html
apxs2(8) - APache eXtenSion tool (Admin - Linux man page)...
apxs2.8 - apxs is a tool for building and installing extension modules for the Apache HyperText Transfer Protocol (HTTP) server. This is achieved by building a

manpages/what_is_linux.html
what_is_linux - 301 Moved Permanently - what_is_linux

manpages/git-merge-base.1.html
git-merge-base(1) - Find as good common ancestors as possibl
git merge-base finds best common ancestor(s) between two commits to use in a three-way merge. One common ancestor is better than another common ancestor if the

manpages/gnutls_openpgp_keyring_get_crt.3.html
gnutls_openpgp_keyring_get_crt(3) - API function (Man Page)
This function will extract an OpenPGP certificate from the given keyring. If the index given is out of range GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE will be retur

manpages/routef.8.html
routef(8) - flush routes (Administration - Linux man page)
These programs are a set of helper scripts you can use instead of raw iproute2 commands. The routel script will list routes in a format that some might consider

manpages/if_nametoindex.3.html
if_nametoindex(3) mappings between network interface names a
The if_nametoindex() function returns the index of the network interface corresponding to the name ifname. The if_indextoname() function returns the name of the

manpages/curl_multi_setopt.3.html
curl_multi_setopt(3) - set options for a curl multi handle
curl_multi_setopt() is used to tell a libcurl multi handle how to behave. By using the appropriate options to curl_multi_setopt(3), you can change libcurls beha

manpages/gnutls_x509_crq_get_pk_algorithm.3.html
gnutls_x509_crq_get_pk_algorithm(3) - API function (ManPage)
This function will return the public key algorithm of a PKCS10 certificate request. If bits is non-NULL, it should have enough size to hold the parameters size





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