sec1_decode

Function parse_der

Source
pub fn parse_der(bytes: &[u8]) -> Result<EcPrivateKey, Sec1PemError>
Expand description

Attempts to parse an EcPrivateKey sequence from the passed DER bytes.