Tag Constant

The next item in the generated source file is a tag constant. This is only generated if the production is tagged. The runtime class Asn1Tag is used for this constant. This class contains methods for operating on ASN.1 tag values. In the sample above, the [APPLICATION 2] tag that is present in the ASN.1 production definition is represented by the generated tag constant.