Enum asn1_cereal::ber::enc::TagEnc
[−]
[src]
pub enum TagEnc { Explicit, Implicit, }
An enum which determines how tags are encoded.
Variants
Explicit
When encoding, all tags will be encoded as explicit tags. When decoding, implict or explict tags will be accepted. Implicit: Tags that can be encoded implicitly must
Implicit
When encoding, constructed tags will be encoded as implicit tags where possible. When decoding, it's an error to use an explicit tag for a constructed element, where an implicit tag could be used instead.