Blame doc/functions/gnutls_pkcs7_get_crl_raw

Packit aea12f
Packit aea12f
Packit aea12f
Packit aea12f
Packit aea12f
@deftypefun {int} {gnutls_pkcs7_get_crl_raw} (gnutls_pkcs7_t @var{pkcs7}, unsigned @var{indx}, void * @var{crl}, size_t * @var{crl_size})
Packit aea12f
@var{pkcs7}: The pkcs7 type
Packit aea12f
Packit aea12f
@var{indx}: contains the index of the crl to extract
Packit aea12f
Packit aea12f
@var{crl}: the contents of the crl will be copied there (may be null)
Packit aea12f
Packit aea12f
@var{crl_size}: should hold the size of the crl
Packit aea12f
Packit aea12f
This function will return a crl of the PKCS7 or RFC2630 crl set.
Packit aea12f
Packit aea12f
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise a
Packit aea12f
negative error value.  If the provided buffer is not long enough,
Packit aea12f
then  @code{crl_size} is updated and @code{GNUTLS_E_SHORT_MEMORY_BUFFER}  is
Packit aea12f
returned.  After the last crl has been read
Packit aea12f
@code{GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE}  will be returned.
Packit aea12f
@end deftypefun