pub fn certs(
rd: &mut dyn BufRead,
) -> impl Iterator<Item = Result<CertificateDer<'static>, Error>> + '_
Expand description
Return an iterator over certificates from rd
.
Filters out any PEM sections that are not certificates and yields errors if a problem occurs while trying to extract a certificate.