Asn1Custom Structure
constructor(children: List<Asn1Element>, tag: ULong, tagClass: TagClass = TagClass.UNIVERSAL, sortChildren: Boolean = false, shouldBeSorted: Boolean = false)
constructor(children: List<Asn1Element>, tag: UByte, tagClass: TagClass = TagClass.UNIVERSAL, sortChildren: Boolean = false, shouldBeSorted: Boolean = false)
ASN.1 CONSTRUCTED with custom tag
Parameters
children
the elements to put into this sequence
tag
the custom tag to use
tag Class
the tag class to use for this custom tag. defaults to TagClass.UNIVERSAL
sort Children
whether to sort the passed child nodes. defaults to false
should Be Sorted
whether the child nodes of this structure should be sorted according to this structure's definition. Note that this information is lost when parsing custom structures!