logo
pub fn der_read_element_content_as(
    i: &[u8],
    tag: Tag,
    length: Length,
    constructed: bool,
    max_depth: usize
) -> Result<(&[u8], BerObjectContent<'_>), Err<Error>>
Available on crate feature mtls only.
Expand description

Parse the next bytes as the content of a DER object.

Content type is not checked, caller is responsible of providing the correct tag