org.bouncycastle.asn1
Class DERApplicationSpecific
java.lang.Object
|
+--org.bouncycastle.asn1.ASN1Object
|
+--org.bouncycastle.asn1.ASN1Primitive
|
+--org.bouncycastle.asn1.ASN1TaggedObject
|
+--org.bouncycastle.asn1.ASN1ApplicationSpecific
|
+--org.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.
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 java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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.