pub fn pkcs8_private_keys(
rd: &mut dyn BufRead,
) -> impl Iterator<Item = Result<PrivatePkcs8KeyDer<'static>, Error>>
Expand description
Return an iterator over PKCS8-encoded private keys from rd
.
Filters out any PEM sections that are not PKCS8-encoded private keys and yields errors if a problem occurs while trying to extract an RSA private key.