Function any_ecdsa_type

Source
pub fn any_ecdsa_type(
    der: &PrivateKeyDer<'_>,
) -> Result<Arc<dyn SigningKey>, Error>
Expand description

Extract any supported ECDSA key from the given DER input.

§Errors

Returns an error if the key couldn’t be decoded.