Bouncy Castle Cryptography Library 1.71

org.bouncycastle.asn1
Class DERApplicationSpecific

java.lang.Object
  extended byorg.bouncycastle.asn1.ASN1Object
      extended byorg.bouncycastle.asn1.ASN1Primitive
          extended byorg.bouncycastle.asn1.ASN1TaggedObject
              extended byorg.bouncycastle.asn1.ASN1ApplicationSpecific
                  extended byorg.bouncycastle.asn1.DERApplicationSpecific
All Implemented Interfaces:
ASN1ApplicationSpecificParser, ASN1Encodable, ASN1TaggedObjectParser, Encodable, InMemoryRepresentable

Deprecated. Will be removed. See comments for ASN1ApplicationSpecific.

public class DERApplicationSpecific
extends ASN1ApplicationSpecific

A DER encoding version of an application specific object.


Constructor Summary
DERApplicationSpecific(boolean explicit, int tagNo, ASN1Encodable baseEncodable)
          Deprecated. Create an application specific object with the tagging style given by the value of explicit.
DERApplicationSpecific(int tag, ASN1Encodable baseEncodable)
          Deprecated. Create an application specific object with a tagging of explicit/constructed.
DERApplicationSpecific(int tagNo, ASN1EncodableVector contentsElements)
          Deprecated. Create an application specific object which is marked as constructed
DERApplicationSpecific(int tagNo, byte[] contentsOctets)
          Deprecated. Create an application specific object from the passed in data.
 
Methods inherited from class org.bouncycastle.asn1.ASN1ApplicationSpecific
getApplicationTag, getContents, getEnclosedObject, getInstance, getObject, getObjectParser, getTaggedObject, hasApplicationTag, hasContextTag, isConstructed, parseBaseUniversal, parseExplicitBaseObject, parseExplicitBaseTagged, parseImplicitBaseTagged, readObject
 
Methods inherited from class org.bouncycastle.asn1.ASN1TaggedObject
getBaseObject, getBaseUniversal, getExplicitBaseObject, getExplicitBaseTagged, getImplicitBaseTagged, getInstance, getLoadedObject, getObject, getTagClass, getTagNo, hashCode, hasTag, isExplicit, 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
 
Methods inherited from interface org.bouncycastle.asn1.ASN1TaggedObjectParser
getTagClass, getTagNo, hasTag
 
Methods inherited from interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
 
Methods inherited from interface org.bouncycastle.asn1.InMemoryRepresentable
getLoadedObject
 

Constructor Detail

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 java.io.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.

DERApplicationSpecific

public DERApplicationSpecific(boolean explicit,
                              int tagNo,
                              ASN1Encodable baseEncodable)
                       throws java.io.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.

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.

Bouncy Castle Cryptography Library 1.71