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 - API function
7

SYNOPSIS

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

ARGUMENTS

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

DESCRIPTION

36       This  function  retrieves the CRL distribution points (2.5.29.31), con‐
37       tained in the given certificate in the X509v3 Certificate Extensions.
38
39       reason_flags should be an ORed  sequence  of  GNUTLS_CRL_REASON_UNUSED,
40       GNUTLS_CRL_REASON_KEY_COMPROMISE,      GNUTLS_CRL_REASON_CA_COMPROMISE,
41       GNUTLS_CRL_REASON_AFFILIATION_CHANGED,   GNUTLS_CRL_REASON_SUPERSEEDED,
42       GNUTLS_CRL_REASON_CESSATION_OF_OPERATION,    GNUTLS_CRL_REASON_CERTIFI‐
43       CATE_HOLD,    GNUTLS_CRL_REASON_PRIVILEGE_WITHDRAWN,    GNUTLS_CRL_REA‐
44       SON_AA_COMPROMISE, or zero for all possible reasons.
45

RETURNS

47       GNUTLS_E_SHORT_MEMORY_BUFFER  and updates &ret_size if &ret_size is not
48       enough to hold the distribution point, or the type of the  distribution
49       point  if  everything  was  ok.  The  type  is  one  of  the enumerated
50       gnutls_x509_subject_alt_name_t.  If the certificate does  not  have  an
51       Alternative    name   with   the   specified   sequence   number   then
52       GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE is returned.
53

REPORTING BUGS

55       Report   bugs   to    <bug-gnutls@gnu.org>.     GnuTLS    home    page:
56       http://www.gnu.org/software/gnutls/  General  help  using GNU software:
57       http://www.gnu.org/gethelp/
58
60       Copyright © 2008 Free Software Foundation.
61       Copying and distribution of this file, with  or  without  modification,
62       are  permitted  in  any  medium  without royalty provided the copyright
63       notice and this notice are preserved.
64

SEE ALSO

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