Function rocket::mtls::x509::ber::parse_ber_slice

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