Function any_ecdsa_type
pub fn any_ecdsa_type(
der: &PrivateKeyDer<'_>,
) -> Result<Arc<dyn SigningKey>, Error>Available on crate features
aws_lc_rs and rustls only.Expand description
Parse der as any ECDSA key type, returning the first which works.
Both SEC1 (PEM section starting with ‘BEGIN EC PRIVATE KEY’) and PKCS8 (PEM section starting with ‘BEGIN PRIVATE KEY’) encodings are supported.