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