Skip to main content

der_expect

Function der_expect 

Source
fn der_expect(der: &[u8], tag: u8) -> Option<(&[u8], &[u8])>
Expand description

Splits the DER element at the start of der into its content and the bytes after it, if its tag is tag.