pub fn der_decode<T: FromASN1WithBody>(v: &[u8]) -> Result<T, T::Error>
Expand description

Automatically decode a type via DER encoding, assuming that the type is a member of FromASN1 or FromASN1WithBody.