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 - API function
7
9 #include <gnutls/x509.h>
10
11 int gnutls_x509_crl_get_crt_serial(gnutls_x509_crl_t crl, int indx,
12 unsigned char * serial, size_t * serial_size, time_t * t);
13
15 gnutls_x509_crl_t crl
16 should contain a gnutls_x509_crl_t structure
17
18 int indx the index of the certificate to extract (starting from 0)
19
20 unsigned char * serial
21 where the serial number will be copied
22
23 size_t * serial_size
24 initially holds the size of serial
25
26 time_t * t if non null, will hold the time this certificate was
27 revoked
28
30 This function will retrieve the serial number of the specified, by the
31 index, revoked certificate.
32
33 Note that this function will have performance issues in large sequences
34 of revoked certificates. In that case use
35 gnutls_x509_crl_iter_crt_serial().
36
38 On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative
39 error value.
40
42 Report bugs to <bugs@gnutls.org>.
43 Home page: http://www.gnutls.org
44
45
47 Copyright © 2001-2014 Free Software Foundation, Inc..
48 Copying and distribution of this file, with or without modification,
49 are permitted in any medium without royalty provided the copyright
50 notice and this notice are preserved.
51
53 The full documentation for gnutls is maintained as a Texinfo manual.
54 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
55 visit
56
57 http://www.gnutls.org/manual/
58
59gnutls 3.3.29 gnutls_x509_crl_get_crt_serial(3)