Class DERApplicationSpecific

All Implemented Interfaces:
ASN1ApplicationSpecificParser, ASN1Encodable, ASN1TaggedObjectParser, InMemoryRepresentable, Encodable

public class DERApplicationSpecific extends ASN1ApplicationSpecific
Deprecated.
Will be removed. See comments for ASN1ApplicationSpecific.
A DER encoding version of an application specific object.
  • Constructor Details

    • DERApplicationSpecific

      public DERApplicationSpecific(int tagNo, byte[] contentsOctets)
      Deprecated.
      Create an application specific object from the passed in data. This will assume the data does not represent a constructed object.
      Parameters:
      tagNo - the tag number for this object.
      contentsOctets - the encoding of the object's body.
    • DERApplicationSpecific

      public DERApplicationSpecific(int tag, ASN1Encodable baseEncodable) throws IOException
      Deprecated.
      Create an application specific object with a tagging of explicit/constructed.
      Parameters:
      tag - the tag number for this object.
      baseEncodable - the object to be contained.
      Throws:
      IOException
    • DERApplicationSpecific

      public DERApplicationSpecific(boolean explicit, int tagNo, ASN1Encodable baseEncodable) throws IOException
      Deprecated.
      Create an application specific object with the tagging style given by the value of explicit.
      Parameters:
      explicit - true if the object is explicitly tagged.
      tagNo - the tag number for this object.
      baseEncodable - the object to be contained.
      Throws:
      IOException
    • DERApplicationSpecific

      public DERApplicationSpecific(int tagNo, ASN1EncodableVector contentsElements)
      Deprecated.
      Create an application specific object which is marked as constructed
      Parameters:
      tagNo - the tag number for this object.
      contentsElements - the objects making up the application specific object.