Expand description
BER indefinite-length and constructed-value combinators. BER constructed-value formats and notation-style constructors.
Recursive OCTET STRING, BIT STRING, and restricted-string formats accept definite and indefinite encodings for parsing and normalize to definite encodings for serialization. SEQUENCE and SEQUENCE OF similarly accept both length forms for parsing and normalize to definite for serialization.
Re-exports§
pub use super::modifiers::implicitly_tagged as Implicit;pub use super::modifiers::ImplicitFmt;pub use super::modifiers::CHOICE;pub use super::modifiers::IMPLICIT;pub use super::modifiers::IMPLICIT_APPLICATION;pub use super::modifiers::IMPLICIT_PRIVATE;pub use super::modifiers::OPTIONAL;pub use super::modifiers::REQUIRED;pub use any::*;pub use bit_string::*;pub use char_string::*;pub use octet_string::*;pub use sequence::*;pub use sequence_of::*;
Modules§
- any
- BER ANY open type and capture wrappers.
- bit_
string - BER BIT STRING combinators with constructed/indefinite segment trees.
- char_
string - BER restricted character string combinators.
- octet_
string - BER OCTET STRING combinators with constructed/indefinite segment trees.
- sequence
- BER SEQUENCE combinators.
- sequence_
of - BER SEQUENCE OF / SET OF element list combinators.
Constants§
- ANY
- BIT_
STRING - BMP_
STRING - BOOLEAN
- ENUMERATED
- ENUMERATE
D16 - GENERALIZED_
TIME - IA5_
STRING - INTEGER
- INTEGE
R8 - INTEGE
R16 - MAX_
RECURSION_ DEPTH - Control the maximum recursion depth for BER OCTET STRING and restricted character string parsing.
- NULL
- NUMERIC_
STRING - OBJECT_
IDENTIFIER - OCTET_
STRING - PRINTABLE_
STRING - REAL
- TELETEX_
STRING - UNIVERSAL_
STRING - UTC_
TIME - UTF8_
STRING
Functions§
Type Aliases§
- AnyTlv
Fmt - BitString
TlvFmt - BmpString
TlvFmt - Bool
TlvFmt - Uniform notation aliases used by schema generators.
- Default
Fmt - Enumerated16
TlvFmt - Enumerated
TlvFmt - Explicit
Fmt - Generalized
Time TlvFmt - Ia5String
TlvFmt - Integer8
TlvFmt - Integer16
TlvFmt - Integer
TlvFmt - Null
TlvFmt - Numeric
String TlvFmt - Object
Identifier TlvFmt - Octet
String TlvFmt - Printable
String TlvFmt - Real
TlvFmt - Sequence
Fmt - Sequence
OfFmt - SetOf
TlvFmt - Teletex
String TlvFmt - Universal
String TlvFmt - UtcTime
TlvFmt - Utf8
String TlvFmt