Function rustls_pemfile::crls
source · pub fn crls(
rd: &mut dyn BufRead
) -> impl Iterator<Item = Result<CertificateRevocationListDer<'static>, Error>> + '_Expand description
Extract all the certificate revocation lists (CRLs) from rd, and return a vec of byte vecs
containing the der-format contents.
This function does not fail if there are no CRLs in the file – it returns an empty vector.