Blame doc/functions/gnutls_x509_crl_list_import
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {int} {gnutls_x509_crl_list_import} (gnutls_x509_crl_t * @var{crls}, unsigned int * @var{crl_max}, const gnutls_datum_t * @var{data}, gnutls_x509_crt_fmt_t @var{format}, unsigned int @var{flags})
|
|
Packit Service |
4684c1 |
@var{crls}: Indicates where the parsed CRLs will be copied to. Must not be initialized.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{crl_max}: Initially must hold the maximum number of crls. It will be updated with the number of crls available.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{data}: The PEM encoded CRLs
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{format}: One of DER or PEM.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{flags}: must be (0) or an OR'd sequence of gnutls_certificate_import_flags.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function will convert the given PEM encoded CRL list
|
|
Packit Service |
4684c1 |
to the native gnutls_x509_crl_t format. The output will be stored
|
|
Packit Service |
4684c1 |
in @code{crls} . They will be automatically initialized.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
If the Certificate is PEM encoded it should have a header of "X509 CRL".
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Returns:} the number of certificates read or a negative error value.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Since:} 3.0
|
|
Packit Service |
4684c1 |
@end deftypefun
|