der_parser::ber

Function parse_ber_any_r

Source
pub fn parse_ber_any_r(i: &[u8], max_depth: usize) -> BerResult<'_>
Expand description

Parse any BER object recursively, specifying the maximum recursion depth

Raise an error if the maximum recursion depth was reached.