Function der_parser::ber::ber_encode_tagged_explicit
source · pub fn ber_encode_tagged_explicit<'a, W: Write + Default + AsRef<[u8]> + 'a>(
tag: BerTag,
class: BerClass,
obj: &'a BerObject<'_>
) -> impl SerializeFn<W> + 'a
Available on crate feature
serialize
only.Expand description
Encode the provided object in an EXPLICIT tagged value, using the provided tag ans class
Note: obj
should be the object to be encapsulated, not the ContextSpecific
variant.