Function rustls::sign::any_ecdsa_type[][src]

pub fn any_ecdsa_type(der: &PrivateKey) -> Result<Box<dyn SigningKey>, ()>

Parse der as any ECDSA key type, returning the first which works.