Class ASN1Constructed

java.lang.Object
org.apache.harmony.security.asn1.ASN1Type
org.apache.harmony.security.asn1.ASN1Constructed
All Implemented Interfaces:
ASN1Constants
Direct Known Subclasses:
ASN1Explicit, ASN1TypeCollection, ASN1ValueCollection

public abstract class ASN1Constructed
extends ASN1Type
This abstract class is the super class for all constructed ASN.1 types
See Also:
ASN.1
  • Constructor Details

    • ASN1Constructed

      protected ASN1Constructed​(int tagNumber)
    • ASN1Constructed

      protected ASN1Constructed​(int tagClass, int tagNumber)
  • Method Details

    • checkTag

      public final boolean checkTag​(int identifier)
      Tests provided identifier.
      Specified by:
      checkTag in class ASN1Type
      Parameters:
      identifier - - identifier to be verified
      Returns:
      - true if identifier correspond to constructed identifier of this ASN.1 type, otherwise false
    • encodeASN

      public void encodeASN​(BerOutputStream out)
      Description copied from class: ASN1Type
      Encodes ASN.1 type.
      Specified by:
      encodeASN in class ASN1Type