~ubuntu-branches/ubuntu/precise/gnutls28/precise

« back to all changes in this revision

Viewing changes to doc/manpages/gnutls_x509_crq_get_basic_constraints.3

  • Committer: Package Import Robot
  • Author(s): Andreas Metzler
  • Date: 2011-09-20 19:37:06 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20110920193706-a9phjijvddzg3nkl
Tags: 3.0.3-1
* New upstream version. (Includes a fix for #640639)
* Bump shlibs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
2
 
.TH "gnutls_x509_crq_get_basic_constraints" 3 "3.0.1" "gnutls" "gnutls"
 
2
.TH "gnutls_x509_crq_get_basic_constraints" 3 "3.0.2" "gnutls" "gnutls"
3
3
.SH NAME
4
4
gnutls_x509_crq_get_basic_constraints \- API function
5
5
.SH SYNOPSIS
6
6
.B #include <gnutls/x509.h>
7
7
.sp
8
 
.BI "int gnutls_x509_crq_get_basic_constraints(gnutls_x509_crq_t " crq ", unsigned int * " critical ", int * " ca ", int * " pathlen ");"
 
8
.BI "int gnutls_x509_crq_get_basic_constraints(gnutls_x509_crq_t " crq ", unsigned int * " critical ", unsigned int * " ca ", int * " pathlen ");"
9
9
.SH ARGUMENTS
10
10
.IP "gnutls_x509_crq_t crq" 12
11
11
should contain a \fBgnutls_x509_crq_t\fP structure
12
12
.IP "unsigned int * critical" 12
13
13
will be non (0) if the extension is marked as critical
14
 
.IP "int * ca" 12
 
14
.IP "unsigned int * ca" 12
15
15
pointer to output integer indicating CA status, may be NULL,
16
16
value is 1 if the certificate CA flag is set, 0 otherwise.
17
17
.IP "int * pathlen" 12
22
22
This function will read the certificate's basic constraints, and
23
23
return the certificates CA status.  It reads the basicConstraints
24
24
X.509 extension (2.5.29.19).
25
 
.SH "RETURN VALUE"
 
25
.SH "RETURNS"
26
26
If the certificate is a CA a positive value will be
27
27
returned, or (0) if the certificate does not have CA flag set.
28
28
A negative error code may be returned in case of errors.  If the