withClass

infix fun withClass(tagClass: TagClass): Asn1Element.Tag(source)

creates a new Tag from this object, overriding the class. Useful for implicitTagging (see Asn1Structure.withImplicitTag)