Function rustls::sign::any_supported_type[][src]

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

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