rustls::crypto::ring::sign

Function any_eddsa_type

Source
pub fn any_eddsa_type(
    der: &PrivatePkcs8KeyDer<'_>,
) -> Result<Arc<dyn SigningKey>, Error>
Available on crate feature ring only.
Expand description

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