Blame doc/functions/gnutls_x509_crl_get_crt_serial

Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
@deftypefun {int} {gnutls_x509_crl_get_crt_serial} (gnutls_x509_crl_t @var{crl}, unsigned @var{indx}, unsigned char * @var{serial}, size_t * @var{serial_size}, time_t * @var{t})
Packit Service 4684c1
@var{crl}: should contain a @code{gnutls_x509_crl_t}  type
Packit Service 4684c1
Packit Service 4684c1
@var{indx}: the index of the certificate to extract (starting from 0)
Packit Service 4684c1
Packit Service 4684c1
@var{serial}: where the serial number will be copied
Packit Service 4684c1
Packit Service 4684c1
@var{serial_size}: initially holds the size of serial
Packit Service 4684c1
Packit Service 4684c1
@var{t}: if non null, will hold the time this certificate was revoked
Packit Service 4684c1
Packit Service 4684c1
This function will retrieve the serial number of the specified, by
Packit Service 4684c1
the index, revoked certificate.
Packit Service 4684c1
Packit Service 4684c1
Note that this function will have performance issues in large sequences
Packit Service 4684c1
of revoked certificates. In that case use @code{gnutls_x509_crl_iter_crt_serial()} .
Packit Service 4684c1
Packit Service 4684c1
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise a
Packit Service 4684c1
negative error value.
Packit Service 4684c1
@end deftypefun