rocket::mtls::x509::ber

Function parse_ber_slice

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

Parse BER object and get content as slice