Module length

Module length 

Source
Expand description

Length calculations for encoded ASN.1 DER values

Structsยง

IndefiniteLength
Length type with support for indefinite lengths as used by ASN.1 BER, as described in X.690 Section 8.1.3.6:
Length
ASN.1-encoded length.

Constantsยง

INDEFINITE_LENGTH_OCTET ๐Ÿ”’
Octet identifying an indefinite length as described in X.690 Section 8.1.3.6.1:
MAX_DER_OCTETS ๐Ÿ”’
Maximum number of octets in a DER encoding of a Length using the rules implemented by this crate.
MAX_U32 ๐Ÿ”’
Maximum length as a u32 (256 MiB).