invoke

operator fun invoke(children: List<Asn1Element>): Asn1Set(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 Asn1SetOf, that will be returned. Otherwise, an Asn1Set is constructed.

Return

An instance of Asn1SetOf or Asn1Set based on the input.

Parameters

children

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