1gnutls_x509_crl_get_crt_serial(3) gnutls gnutls_x509_crl_get_crt_serial(3)
2
3
4
6 gnutls_x509_crl_get_crt_serial - This function returns the serial num‐
7 ber of a revoked certificate
8
10 #include <gnutls/x509.h>
11
12 int gnutls_x509_crl_get_crt_serial(gnutls_x509_crl_t crl, int indx,
13 unsigned char * serial, size_t * serial_size, time_t * t);
14
16 gnutls_x509_crl_t crl
17 should contain a gnutls_x509_crl_t structure
18
19 int indx the index of the certificate to extract (starting from 0)
20
21 unsigned char * serial
22 where the serial number will be copied
23
24 size_t * serial_size
25 initially holds the size of serial
26
27 time_t * t if non null, will hold the time this certificate was
28 revoked
29
31 This function will return the serial number of the specified, by the
32 index, revoked certificate.
33
34 Returns a negative value on failure.
35
37 Report bugs to <bug-gnutls@gnu.org>.
38
40 Copyright © 2006 Free Software Foundation.
41 Permission is granted to make and distribute verbatim copies of this
42 manual provided the copyright notice and this permission notice are
43 preserved on all copies.
44
46 The full documentation for gnutls is maintained as a Texinfo manual.
47 If the info and gnutls programs are properly installed at your site,
48 the command
49
50 info gnutls
51
52 should give you access to the complete manual.
53
54
55
56gnutls 1.6.3 gnutls_x509_crl_get_crt_serial(3)