1gnutls_x509_crt_get_crl_dist_points(3g)nutlgsnutls_x509_crt_get_crl_dist_points(3)
2
3
4
6 gnutls_x509_crt_get_crl_dist_points - API function
7
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 * san, size_t * san_size, unsigned int * rea‐
13 son_flags, unsigned int * critical);
14
16 gnutls_x509_crt_t cert
17 should contain a gnutls_x509_crt_t type
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 * san is the place where the distribution point will be copied to
24
25 size_t * san_size
26 holds the size of ret.
27
28 unsigned int * reason_flags
29 Revocation reasons. An ORed sequence of flags from
30 gnutls_x509_crl_reason_flags_t.
31
32 unsigned int * critical
33 will be non-zero if the extension is marked as critical
34 (may be null)
35
37 This function retrieves the CRL distribution points (2.5.29.31), con‐
38 tained in the given certificate in the X509v3 Certificate Extensions.
39
41 GNUTLS_E_SHORT_MEMORY_BUFFER and updates ret_size if
42 ret_size is not enough to hold the distribution point, or the type of
43 the distribution point if everything was ok. The type is one of the
44 enumerated gnutls_x509_subject_alt_name_t. If the certificate does not
45 have an Alternative name with the specified sequence number then
46 GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE is returned.
47
49 Report bugs to <bugs@gnutls.org>.
50 Home page: http://www.gnutls.org
51
52
54 Copyright © 2001-2018 Free Software Foundation, Inc., and others.
55 Copying and distribution of this file, with or without modification,
56 are permitted in any medium without royalty provided the copyright
57 notice and this notice are preserved.
58
60 The full documentation for gnutls is maintained as a Texinfo manual.
61 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
62 visit
63
64 http://www.gnutls.org/manual/
65
66gnutls 3.6.g5nutls_x509_crt_get_crl_dist_points(3)