Function rocket::mtls::x509::der_parser::der::parse_der_set

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

Parse a set of DER elements

Read a set of DER 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_der_set_defined macro.