Function rama::tls::rustls::dep::pemfile::ec_private_keys

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.