rustls::crypto::ring::sign

Function any_supported_type

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

Parse der as any supported key encoding/type, returning the first which works.