rocket::mtls::x509::der_parser::der

Function parse_der_slice

Source
pub fn parse_der_slice<T>(
    i: &[u8],
    tag: T,
) -> Result<(&[u8], &[u8]), Err<Error>>
where T: Into<Tag>,
Available on crate feature mtls only.
Expand description

Parse DER object and get content as slice