pub fn der_read_element_content_as(
    i: &[u8],
    tag: Tag,
    length: Length,
    constructed: bool,
    max_depth: usize
) -> BerResult<'_, DerObjectContent<'_>>
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