Expand description
types
contains representations for ASN.1’s basic types, such as BOOLEAN
s
or SEQUENCE
s.
Structs§
- Representation of an ASN1 BIT STRING data element with corresponding constraints and distinguished values defining the individual bits. As defined in Rec. ITU-T X.680 (02/2021) §22
- Representation of an ASN1 BOOLEAN data element with corresponding constraints. As defined in Rec. ITU-T X.680 (02/2021) §18
- Representation of an ASN1 Character String type data element with corresponding constraints. ASN1 Character String types include IA5String, UTF8String, VideotexString. As defined in Rec. ITU-T X.680 (02/2021) §39-§44
- Representation of an ASN1 CHOICE data element with corresponding members and extension information. As defined in Rec. ITU-T X.680 (02/2021) §29
- Representation of an single ASN1 CHOICE option.
- Representation of a ASN1 selection type as used with ASN1 CHOICEs As defined in Rec. ITU-T X.680 (02/2021) §30
- Representation of a ASN1 distinguished value, as seen in some INTEGER and BIT STRING declarations As defined in Rec. ITU-T X.680 (02/2021) §19.5 and §22.4
- Representation of a single member/enumeral of an ASN1 ENUMERATED data element.
- Representation of an ASN1 ENUMERATED data element with corresponding enumerals and extension information. As defined in Rec. ITU-T X.680 (02/2021) §20
- Representation of an ASN1 GeneralizedTime data element with corresponding constraints. As defined in Rec. ITU-T X.680 (02/2021) §46
- Representation of an ASN1 INTEGER data element with corresponding constraints and distinguished values. As defined in Rec. ITU-T X.680 (02/2021) §19
- Representation of an ASN1 OBJECT IDENTIFIER data element with corresponding constraints. As defined in Rec. ITU-T X.680 (02/2021) §32
- Representation of an ASN1 OCTET STRING data element with corresponding constraints. As defined in Rec. ITU-T X.680 (02/2021) §23
- Representation of an ASN1 REAL data element with corresponding constraints. As defined in Rec. ITU-T X.680 (02/2021) §21
- Representation of an ASN1 SEQUENCE or SET data element with corresponding members and extension information. Whether the struct describes a SEQUENCE or a SET is identified by the
ASN1Type
enum variant that holds this struct as a value (i.e.ASN1Type::Set(SequenceOrSet { .. })
orASN1Type::Sequence(SequenceOrSet { .. })
). As defined in Rec. ITU-T X.680 (02/2021) §25 and §27 - Representation of an single ASN1 SEQUENCE or SET member.
- Representation of an ASN1 SEQUENCE OF and SET OF data element with corresponding constraints and element type info Whether the struct describes a SEQUENCE OF or a SET OF is identified by the
ASN1Type
enum variant that holds this struct as a value (i.e.ASN1Type::SetOf(SequenceOrSetOf { .. })
orASN1Type::SequenceOf(SequenceOrSetOf { .. })
). As defined in Rec. ITU-T X.680 (02/2021) §26 and §28 - Representation of an ASN1 TIME data element with corresponding constraints. As defined in Rec. ITU-T X.680 (02/2021) §38
- Representation of an ASN1 Universal time (a.k.a UTCTime) data element with corresponding constraints. As defined in Rec. ITU-T X.680 (02/2021) §47
Enums§
- Intermediate parsing type to parse COMPONENTS OF notation.
SequenceComponent
is an intermediary type that implementors of a [Backend] will usually not interact with. When parsing the body of an ASN.1 SEQUENCE or SET, the lexer distinguishes between a group of members (SequenceComponent::ComponentsOf
) that is imnported from another ASN.1 data element using theCOMPONENTS OF
notation (i.e.Extending-Sequence ::= SEQUENCE { COMPONENTS OF Another-Sequence, added-field BOOLEAN }
) and the regular member declaration (SequenceComponent::Member
) (i.e.Simple-Sequence ::= SEQUENCE { field BOOLEAN }
). When the lexer assembles the complete SequenceOrSet struct, it groups the parsedSequenceComponent
items into themembers
andcomponents_of
fields of the SequenceOrSet struct. The linker will subsequently try to resolve thecomponents_of
identifiers.
Traits§
- Trait shared by all ASN1 types that can be constrained a.k.a subtyped. See also Rec. ITU-T X.680 (02/2021) §49 - §51