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  *
13       serial_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
30                   revoked
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
36       elements (50000+).
37
38       When      past      the      last       element       is       accessed
39       GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE  is  returned and the iterator is
40       reset.
41
42       After   use,    the    iterator    must    be    deinitialized    using
43       gnutls_x509_crl_iter_deinit().
44

RETURNS

46       On  success,  GNUTLS_E_SUCCESS  (0)  is  returned, otherwise a negative
47       error value.
48

REPORTING BUGS

50       Report bugs to <bugs@gnutls.org>.
51       Home page: https://www.gnutls.org
52
53
55       Copyright © 2001-2019 Free Software Foundation, Inc., and others.
56       Copying and distribution of this file, with  or  without  modification,
57       are  permitted  in  any  medium  without royalty provided the copyright
58       notice and this notice are preserved.
59

SEE ALSO

61       The full documentation for gnutls is maintained as  a  Texinfo  manual.
62       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
63       visit
64
65       https://www.gnutls.org/manual/
66
67gnutls                              3.6.11  gnutls_x509_crl_iter_crt_serial(3)
Impressum