Describes the definition of a SEQUENCE or SET component. Needed because not all information is available in the decoders used.

no subtypes hierarchy

Initializer
Descriptor(<Decoder<Element>|DecodingError>(GenericAsn1Value?[]) decoder, Element|Option default = ...)
Parameters:
  • decoder

    Returns a decoder to use for a SEQUENCE or SET component. For most components, this will be a constant function, but for components of type ANY, the decoder needs to be selected according to the previously decoded components.

  • default = Option.mandatory

    Indicates if the component is mandatory or optional, or the DEFAULT value of the component if it has one.

Attributes
decodershared <Decoder<Element>|DecodingError>(GenericAsn1Value?[]) decoder

Returns a decoder to use for a SEQUENCE or SET component. For most components, this will be a constant function, but for components of type ANY, the decoder needs to be selected according to the previously decoded components.

defaultshared Element|Option default

Indicates if the component is mandatory or optional, or the DEFAULT value of the component if it has one.

stringshared actual String string

A developer-friendly string representing the instance. Concatenates the name of the concrete class of the instance with the hash of the instance. Subclasses are encouraged to refine this implementation to produce a more meaningful representation.

Refines Object.string
Inherited Attributes
Attributes inherited from: Object
hash, string
Inherited Methods
Methods inherited from: Object
equals