Skip to main content

Module ber

Module ber 

Source
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
ENUMERATED16
GENERALIZED_TIME
IA5_STRING
INTEGER
INTEGER8
INTEGER16
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§

DEFAULT
EXPLICIT
EXPLICIT_APPLICATION
EXPLICIT_PRIVATE
Explicit
SEQUENCE
SEQUENCE_OF
SET_OF

Type Aliases§

AnyTlvFmt
BitStringTlvFmt
BmpStringTlvFmt
BoolTlvFmt
Uniform notation aliases used by schema generators.
DefaultFmt
Enumerated16TlvFmt
EnumeratedTlvFmt
ExplicitFmt
GeneralizedTimeTlvFmt
Ia5StringTlvFmt
Integer8TlvFmt
Integer16TlvFmt
IntegerTlvFmt
NullTlvFmt
NumericStringTlvFmt
ObjectIdentifierTlvFmt
OctetStringTlvFmt
PrintableStringTlvFmt
RealTlvFmt
SequenceFmt
SequenceOfFmt
SetOfTlvFmt
TeletexStringTlvFmt
UniversalStringTlvFmt
UtcTimeTlvFmt
Utf8StringTlvFmt