1gnutls_x509_crl_get_authority_keyg_ngunt_glsnseu_rtxil5as0l9(_3c)rl_get_authority_key_gn_serial(3)
2
3
4
6 gnutls_x509_crl_get_authority_key_gn_serial - API function
7
9 #include <gnutls/x509.h>
10
11 int gnutls_x509_crl_get_authority_key_gn_serial(gnutls_x509_crl_t crl,
12 unsigned int seq, void * alt, size_t * alt_size, unsigned int *
13 alt_type, void * serial, size_t * serial_size, unsigned int * criti‐
14 cal);
15
17 gnutls_x509_crl_t crl
18 should contain a gnutls_x509_crl_t type
19
20 unsigned int seq
21 specifies the sequence number of the alt name (0 for the
22 first one, 1 for the second etc.)
23
24 void * alt is the place where the alternative name will be copied to
25
26 size_t * alt_size
27 holds the size of alt.
28
29 unsigned int * alt_type
30 holds the type of the alternative name (one of
31 gnutls_x509_subject_alt_name_t).
32
33 void * serial
34 buffer to store the serial number (may be null)
35
36 size_t * serial_size
37 Holds the size of the serial field (may be null)
38
39 unsigned int * critical
40 will be non-zero if the extension is marked as critical
41 (may be null)
42
44 This function will return the X.509 authority key identifier when
45 stored as a general name (authorityCertIssuer) and serial number.
46
47 Because more than one general names might be stored
48 seq can be used as a counter to request them all until
49 GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE is returned.
50
52 Returns 0 on success, or an error code.
53
55 3.0
56
58 Report bugs to <bugs@gnutls.org>.
59 Home page: https://www.gnutls.org
60
61
63 Copyright © 2001-2020 Free Software Foundation, Inc., and others.
64 Copying and distribution of this file, with or without modification,
65 are permitted in any medium without royalty provided the copyright
66 notice and this notice are preserved.
67
69 The full documentation for gnutls is maintained as a Texinfo manual.
70 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
71 visit
72
73 https://www.gnutls.org/manual/
74
75gnutls gnut3l.s6_.x15309_crl_get_authority_key_gn_serial(3)