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

RETURNS

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

REPORTING BUGS

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

SEE ALSO

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