Skip to main content

Module der_ord

Module der_ord 

Source
Expand description

Allocation-free ordering of values by their DER encodings. Allocation-free comparison of values by their complete DER encodings.

Structs§

Base128DerState
Stack-resident cursor for one minimally encoded OBJECT IDENTIFIER subidentifier.
BmpStringDerState
BytesDerState
Cursor for a direct byte sequence.
GeneralizedTimeDerState
Integer16DerState
Stack cursor for the specialized small INTEGER content formats.
IntegerDerState
Cursor for arbitrary-size INTEGER contents. Small values cache at most nine content octets; large values retain the zero-copy representation and are traversed directly.
LengthDerState
Stack-resident serialization cursor for a DER length.
PairDerState
Cursor for sequential composition.
StarDerState
Cursor for a concatenated collection.
TagDerState
Stack-resident serialization cursor for a DER tag.
TlvDerState
Cursor for a complete DER tag-length-value encoding.
UniversalStringDerState
UtcTimeDerState

Enums§

ChoiceDerState
Cursor for a binary choice.
OptDerState
Cursor for an optional value.

Traits§

DeepViewIdentity
Executable values whose deep view is the value itself.
DerOrd
A format whose executable values can be traversed in serialization order without producing an intermediate byte buffer.
DerState
Cursor-state type for a format. It is format-specific rather than value-type-specific.

Functions§

bmp_string_der_position
universal_string_der_position

Type Aliases§

AnyDerState
ObjectIdentifierDerState