Expand description
Module containing all of the various ASN.1 built-in types supported by this library.
ModulesΒ§
- any π
- ASN.1
ANYtype. - application π
- Application class field.
- bit_
string π - ASN.1
BIT STRINGsupport. - bmp_
string π - ASN.1
BMPStringsupport. - boolean π
- ASN.1
BOOLEANsupport. - choice π
- ASN.1
CHOICEsupport. - context_
specific π - Context-specific field.
- general_
string π - generalized_
time π - ASN.1
GeneralizedTimesupport. - ia5_
string π - ASN.1
IA5Stringsupport. - integer π
- ASN.1
INTEGERsupport. - internal_
macros π - null π
- ASN.1
NULLsupport. - octet_
string π - ASN.1
OCTET STRINGsupport. - oid π
- ASN.1
OBJECT IDENTIFIER - optional π
- ASN.1
OPTIONALas mapped to RustβsOptiontype - printable_
string π - ASN.1
PrintableStringsupport. - private π
- Private class field.
- sequence π
- The
Sequencetrait simplifies writing decoders/encoders which map ASN.1SEQUENCEs to Rust structs. - sequence_
of π - ASN.1
SEQUENCE OFsupport. - set_of π
- ASN.1
SET OFsupport. - teletex_
string π - ASN.1
TeletexStringsupport. - utc_
time π - ASN.1
UTCTimesupport. - utf8_
string π - ASN.1
UTF8Stringsupport. - videotex_
string π - ASN.1
VideotexStringsupport.
StructsΒ§
- Any
- ASN.1
ANY: represents any explicitly tagged ASN.1 value. - AnyRef
- ASN.1
ANY: represents any explicitly tagged ASN.1 value. - Application
APPLICATIONfield which wraps an owned inner value.- Application
Ref APPLICATIONfield reference.- BitString
- Owned form of ASN.1
BIT STRINGtype. - BitString
Iter - Iterator over the bits of a
BitString. - BitString
Ref - ASN.1
BIT STRINGtype. - BmpString
- ASN.1
BMPStringtype. - Context
Specific CONTEXT-SPECIFICfield which wraps an owned inner value.- Context
Specific Ref CONTEXT-SPECIFICfield reference.- General
String Ref - This is currently
&[u8]internally, asGeneralStringis not fully implemented yet - Generalized
Time - ASN.1
GeneralizedTimetype. - Ia5String
- ASN.1
IA5Stringtype. - Ia5String
Ref - ASN.1
IA5Stringtype. - Int
- Signed arbitrary precision ASN.1
INTEGERtype. - IntRef
- Signed arbitrary precision ASN.1
INTEGERreference type. - Null
- ASN.1
NULLtype. - Object
Identifier - Object identifier (OID).
- Octet
String - ASN.1
OCTET STRINGtype: owned form. - Octet
String Ref - ASN.1
OCTET STRINGtype: borrowed form. - Printable
String - ASN.1
PrintableStringtype. - Printable
String Ref - ASN.1
PrintableStringtype. - Private
PRIVATEfield which wraps an owned inner value.- Private
Ref PRIVATEfield reference.- Sequence
Ref - The
SequenceReftype provides raw access to the octets which comprise a DER-encodedSEQUENCE. - SetOf
Iter - Iterator over the elements of an [
SetOf]. - SetOf
Vec - ASN.1
SET OFbacked by aVec. - Teletex
String - ASN.1
TeletexStringtype. - Teletex
String Ref - ASN.1
TeletexStringtype. - Uint
- Unsigned arbitrary precision ASN.1
INTEGERtype. - UintRef
- Unsigned arbitrary precision ASN.1
INTEGERreference type. - UtcTime
- ASN.1
UTCTimetype. - Utf8
String Ref - ASN.1
UTF8Stringtype. - Videotex
String Ref - ASN.1
VideotexStringtype.