Index

AnySwitch

Manages type information of a SEQUENCE component of type ANY DEFINED BY.

AnySwitchRegistry

AnySwitch that looks up decoders in a Map, given a discriminator value.

Asn1Boolean

Represents an ASN.1 BOOLEAN value.

Asn1BooleanDecoder

Decodes BOOLEAN.

Asn1Integer

Represents an ASN.1 INTEGER value, restricted to values representable in 4 octets.

Asn1IntegerDecoder

Decodes INTEGER to an Asn1Integer.

Asn1Null

Represents an ASN.1 NULL value.

Asn1NullDecoder

Decodes NULL.

Asn1Sequence

Represents an ASN.1 SEQUENCE value.

Asn1SequenceOf

Represents an ASN.1 SEQUENCE OF value.

Asn1Set

Represents an ASN.1 SET value.

Asn1SetOf

Represents an ASN.1 SET OF value.

Asn1Value

Base class for an ASN.1 value whose type definition is known.

Asn1Whole

Represents an ASN.1 INTEGER value that can represent arbitrary large values using Whole.

Asn1WholeDecoder

Decodes INTEGER to an Asn1Whole.

BitString

Represents an ASN.1 BIT STRING value.

BitStringDecoder

Decodes BIT STRING.

ChoiceDecoder

Decodes CHOICE.

Decoder

A decoder for an ASN.1 type.

DecodingError

Returned if an error occured while decoding.

Descriptor

Describes the definition of a SEQUENCE or SET component.

EncodingError

Returned if an error occured while encoding.

EncodingMethod

Enum class for the length encoding methods.

GeneralizedTime

Represents an ASN.1 GeneralizedTime value.

GeneralizedTimeDecoder

Decodes GeneralizedTime.

GenericAsn1Value

A generic ASN.1 value with the information that can minimally be known without knowledge of its type's ASN.1 definition.…

GenericAsn1ValueDecoder

Decodes an ASN.1 value without knowing its type definition.

GenericSequenceDecoder

Decodes a SEQUENCE without knowing the ASN.1 specification for it.

IA5String

Represent an ASN.1 IA5String value.

IA5StringDecoder

Decodes IA5String.

IdentityInfo

Information from the identity octets of an ASN.1 value according to the BER.

ObjectIdentifier

Represents an ASN.1 OBJECT IDENTIFIER value.

ObjectIdentifierDecoder

Decodes OBJECT IDENTIFIER.

OctetString

Represents an ASN.1 OCTET STRING value.

OctetStringDecoder

Decodes OCTET STRING.

Option

Enum class to indicate if a sequence/set value is mandatory or optional.

PrintableString

Represents an ASN.1 PrintableString value.

PrintableStringDecoder

Decodes PrintableString.

SequenceDecoder

Decodes SEQUENCE.

SequenceOfDecoder

Decodes SEQUENCE OF.

SetOfDecoder

Decodes a SET OF.

StdDecoder

An experimental helper decoder that does calculation and return of the next position value.

Tag

An ASN.1 tag consisting of tag class and number.

TagClass

The class of an ASN.1 tag.

TaggedValue

Represents an ASN.1 value with an EXPLICIT tag (used in a SEQUENCE, SET or CHOICE).

TaggedValueDecoder

Decodes an ASN.1 value with an EXPLICIT tag.

UTCTime

Represents an ASN.1 UTCTime value.

UTCTimeDecoder

Decodes UTCTime.

UTF8String

Represents an ASN.1 UTF8String value.

UTF8StringDecoder

Decodes UTF8String.

UniversalTag

Enum class for the (supported) tags in tag class UNIVERSAL.

asn1Boolean()

Creates an Asn1Boolean.

asn1Integer()

Creates an ASN.1 INTEGER value, implemented by Asn1Integer

asn1Null()

Creates an Asn1Null value.

asn1Sequence()

Creates an Asn1Sequence.

asn1SequenceOf()

Creates an Asn1SequenceOf.

asn1Set()

Creates an Asn1Set.

asn1SetOf()

Creates an Asn1SetOf.

asn1Whole()

Creates an ASN.1 INTEGER value, implemented by Asn1Whole

bitStringFromBytes()

Creates a BitString.

decodeIdentityOctets()

Decodes the identity octets of a BER encoded ASN.1 value.

decodeLengthOctets()

Decodes the length octets of a BER encoded ASN.1 value.

encodeAsn1Sequence()

Encodes an ASN.1 SEQUENCE.

encodeLength()

Encodes the length octets.

generalizedTimeFromInstant()

Creates a GeneralizedTime from an Instant.

generalizedTimeFromString()

Creates a GeneralizedTime from a String.

hexdigits()

Formats a Byte as a two-digit hexadecimal number.

hexdump()

Format a Byte sequence as a sequence of two-digit hexadecimal numbers, separated by a space.

ia5String()

Creates an ASN.1 IA5String. R

objectIdentifier()

Creates an ObjectIdentifier.

octetString()

Creates an OctetString.

printableString()

Creates an ASN.1 PrintableString. R

taggedValue()

Creates a TaggedValue, wrapping an ASN.1 value with an explicit tag.

utcTimeFromInstant()

Creates a UTCTime from an Instant.

utcTimeFromString()

Creates a UTCTime from a String.

utf8String()

Creates an ASN.1 UTF8String.