1gnutls_x509_crl_iter_crt_serial(3)  gnutls  gnutls_x509_crl_iter_crt_serial(3)
2
3
4

NAME

6       gnutls_x509_crl_iter_crt_serial - API function
7

SYNOPSIS

9       #include <gnutls/x509.h>
10
11       int        gnutls_x509_crl_iter_crt_serial(gnutls_x509_crl_t       crl,
12       gnutls_x509_crl_iter_t * iter, unsigned char *  serial,  size_t  *  se‐
13       rial_size, time_t * t);
14

ARGUMENTS

16       gnutls_x509_crl_t crl
17                   should contain a gnutls_x509_crl_t type
18
19       gnutls_x509_crl_iter_t * iter
20                   A  pointer to an iterator (initially the iterator should be
21                   NULL)
22
23       unsigned char * serial
24                   where the serial number will be copied
25
26       size_t * serial_size
27                   initially holds the size of serial
28
29       time_t * t  if non null, will hold the time this  certificate  was  re‐
30                   voked
31

DESCRIPTION

33       This  function  performs  the same as gnutls_x509_crl_get_crt_serial(),
34       but reads sequentially and keeps state in the iterator  between  calls.
35       That allows it to provide better performance in sequences with many el‐
36       ements (50000+).
37
38       When   past    the    last    element    is    accessed    GNUTLS_E_RE‐
39       QUESTED_DATA_NOT_AVAILABLE is returned and the iterator is reset.
40
41       After    use,    the    iterator    must    be    deinitialized   using
42       gnutls_x509_crl_iter_deinit().
43

RETURNS

45       On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative  er‐
46       ror value.
47

REPORTING BUGS

49       Report bugs to <bugs@gnutls.org>.
50       Home page: https://www.gnutls.org
51
52
54       Copyright © 2001-2023 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  no‐
57       tice and this notice are preserved.
58

SEE ALSO

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       https://www.gnutls.org/manual/
65
66gnutls                               3.8.2  gnutls_x509_crl_iter_crt_serial(3)
Impressum