Function rocket::mtls::x509::der_parser::ber::parse_ber_any_r
source · pub fn parse_ber_any_r(
i: &[u8],
max_depth: usize
) -> Result<(&[u8], BerObject<'_>), Err<Error>>
Available on crate feature
mtls
only.Expand description
Parse any BER object recursively, specifying the maximum recursion depth
Raise an error if the maximum recursion depth was reached.