Bouncy Castle Cryptography Library 1.69

org.bouncycastle.asn1
Class DLApplicationSpecific

java.lang.Object
  extended byorg.bouncycastle.asn1.ASN1Object
      extended byorg.bouncycastle.asn1.ASN1Primitive
          extended byorg.bouncycastle.asn1.ASN1ApplicationSpecific
              extended byorg.bouncycastle.asn1.DLApplicationSpecific
All Implemented Interfaces:
ASN1Encodable, Encodable

public class DLApplicationSpecific
extends ASN1ApplicationSpecific

A DER encoding version of an application specific object.


Field Summary
 
Fields inherited from class org.bouncycastle.asn1.ASN1ApplicationSpecific
isConstructed, octets, tag
 
Constructor Summary
DLApplicationSpecific(boolean constructed, int tag, ASN1Encodable object)
          Create an application specific object with the tagging style given by the value of constructed.
DLApplicationSpecific(int tag, ASN1Encodable object)
          Create an application specific object with a tagging of explicit/constructed.
DLApplicationSpecific(int tagNo, ASN1EncodableVector vec)
          Create an application specific object which is marked as constructed
DLApplicationSpecific(int tag, byte[] octets)
          Create an application specific object from the passed in data.
 
Methods inherited from class org.bouncycastle.asn1.ASN1ApplicationSpecific
getApplicationTag, getContents, getInstance, getLengthOfHeader, getObject, getObject, hashCode, isConstructed, toString
 
Methods inherited from class org.bouncycastle.asn1.ASN1Primitive
encodeTo, encodeTo, equals, equals, equals, fromByteArray, toASN1Primitive
 
Methods inherited from class org.bouncycastle.asn1.ASN1Object
getEncoded, getEncoded, hasEncodedTagValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DLApplicationSpecific

public DLApplicationSpecific(int tag,
                             byte[] octets)
Create an application specific object from the passed in data. This will assume the data does not represent a constructed object.

Parameters:
tag - the tag number for this object.
octets - the encoding of the object's body.

DLApplicationSpecific

public DLApplicationSpecific(int tag,
                             ASN1Encodable object)
                      throws java.io.IOException
Create an application specific object with a tagging of explicit/constructed.

Parameters:
tag - the tag number for this object.
object - the object to be contained.

DLApplicationSpecific

public DLApplicationSpecific(boolean constructed,
                             int tag,
                             ASN1Encodable object)
                      throws java.io.IOException
Create an application specific object with the tagging style given by the value of constructed.

Parameters:
constructed - true if the object is constructed.
tag - the tag number for this object.
object - the object to be contained.

DLApplicationSpecific

public DLApplicationSpecific(int tagNo,
                             ASN1EncodableVector vec)
Create an application specific object which is marked as constructed

Parameters:
tagNo - the tag number for this object.
vec - the objects making up the application specific object.

Bouncy Castle Cryptography Library 1.69