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