1gnutls_x509_crt_get_crl_dist_points(3g)nutlgsnutls_x509_crt_get_crl_dist_points(3)
2
3
4

NAME

6       gnutls_x509_crt_get_crl_dist_points  -  This  function  returns the CRL
7       distribution points
8

SYNOPSIS

10       #include <gnutls/x509.h>
11
12       int     gnutls_x509_crt_get_crl_dist_points(gnutls_x509_crt_t     cert,
13       unsigned  int  seq,  void * ret, size_t * ret_size, unsigned int * rea‐
14       son_flags, unsigned int * critical);
15

ARGUMENTS

17       gnutls_x509_crt_t cert
18                   should contain a gnutls_x509_crt_t structure
19
20       unsigned int seq
21                   specifies the sequence number of the distribution point  (0
22                   for the first one, 1 for the second etc.)
23
24       void * ret  is the place where the distribution point will be copied to
25
26       size_t * ret_size
27                   holds the size of ret.
28
29       unsigned int * reason_flags
30                   Revocation reasons flags.
31
32       unsigned int * critical
33                   will  be  non  zero  if the extension is marked as critical
34                   (may be null)
35

DESCRIPTION

37       This function will return the CRL distribution points (2.5.29.31), con‐
38       tained in the given certificate.
39
40       reason_flags  should  be  an ORed sequence of GNUTLS_CRL_REASON_UNUSED,
41       GNUTLS_CRL_REASON_KEY_COMPROMISE,      GNUTLS_CRL_REASON_CA_COMPROMISE,
42       GNUTLS_CRL_REASON_AFFILIATION_CHANGED,   GNUTLS_CRL_REASON_SUPERSEEDED,
43       GNUTLS_CRL_REASON_CESSATION_OF_OPERATION,    GNUTLS_CRL_REASON_CERTIFI‐
44       CATE_HOLD,    GNUTLS_CRL_REASON_PRIVILEGE_WITHDRAWN,    GNUTLS_CRL_REA‐
45       SON_AA_COMPROMISE, or zero for all possible reasons.
46
47       This is specified in X509v3 Certificate Extensions. GNUTLS will  return
48       the distribution point type, or a negative error code on error.
49
50       Returns GNUTLS_E_SHORT_MEMORY_BUFFER and updates &ret_size if &ret_size
51       is not enough to hold the distribution point, or the type of  the  dis‐
52       tribution point if everything was ok. The type is one of the enumerated
53       gnutls_x509_subject_alt_name_t.
54
55       If the certificate does not have an Alternative name with the specified
56       sequence number then returns GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE;
57

REPORTING BUGS

59       Report bugs to <bug-gnutls@gnu.org>.
60
62       Copyright © 2006 Free Software Foundation.
63       Permission  is  granted  to make and distribute verbatim copies of this
64       manual provided the copyright notice and  this  permission  notice  are
65       preserved on all copies.
66

SEE ALSO

68       The  full  documentation  for gnutls is maintained as a Texinfo manual.
69       If the info and gnutls programs are properly installed  at  your  site,
70       the command
71
72              info gnutls
73
74       should give you access to the complete manual.
75
76
77
78gnutls                               1.6.g3nutls_x509_crt_get_crl_dist_points(3)
Impressum