Class ASN1Explicit

All Implemented Interfaces:
ASN1Constants

public final class ASN1Explicit
extends ASN1Constructed
This class represents explicitly tagged ASN.1 type.
See Also:
ASN.1
  • Field Details

  • Constructor Details

    • ASN1Explicit

      public ASN1Explicit​(int tagNumber, ASN1Type type)
      Constructs explicitly tagged ASN.1 type with context-specific tag class and specified tag number.
      Parameters:
      tagNumber - - ASN.1 tag number
      type - - ASN.1 type to be tagged
      Throws:
      IllegalArgumentException - - if tagNumber is invalid
    • ASN1Explicit

      public ASN1Explicit​(int tagClass, int tagNumber, ASN1Type type)
      Constructs explicitly tagged ASN.1 type.
      Parameters:
      tagClass - - ASN.1 tag class.
      tagNumber - - ASN.1 tag number
      type - - ASN.1 type to be tagged
      Throws:
      IllegalArgumentException - - if tagClass or tagNumber is invalid
  • Method Details