Function rocket::mtls::x509::ber::parse_ber_set

source ยท
pub fn parse_ber_set(i: &[u8]) -> Result<(&[u8], BerObject<'_>), Err<Error>>
Available on crate feature mtls only.
Expand description

Parse a set of BER elements

Read a set of BER objects, without any constraint on the types. Set is parsed recursively, so if constructed elements are found, they are parsed using the same function.

To read a specific set of objects (giving the expected types), use the parse_ber_set_defined macro.