pub fn ec_private_keys(
    rd: &mut dyn BufRead
) -> impl Iterator<Item = Result<PrivateSec1KeyDer<'static>, Error>> + '_
Expand description

Extract all SEC1-encoded EC private keys from rd, and return a vec of byte vecs containing the der-format contents.

This function does not fail if there are no keys in the file – it returns an empty vector.