rustls_pemfile

Function crls

Source
pub fn crls(
    rd: &mut dyn BufRead,
) -> impl Iterator<Item = Result<CertificateRevocationListDer<'static>, Error>> + '_
Expand description

Return an iterator certificate revocation lists (CRLs) from rd.

Filters out any PEM sections that are not CRLs and yields errors if a problem occurs while trying to extract a CRL.