invoke

operator fun invoke(children: List<Asn1Element>): Asn1Sequence(source)

Creates an instance of an ASN.1 SET structure from the given list of children. If the children can be represented as an instance of Asn1SequenceOf, that will be returned. Otherwise, an Asn1Sequence is constructed.

Return

An instance of Asn1Sequence or Asn1SequenceOf based on the input.

Parameters

children

The list of Asn1Element to be encapsulated in the SET structure.