Package org.bouncycastle.asn1
Class DLApplicationSpecific
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.ASN1Primitive
org.bouncycastle.asn1.ASN1ApplicationSpecific
org.bouncycastle.asn1.DLApplicationSpecific
- All Implemented Interfaces:
ASN1ApplicationSpecificParser
,ASN1Encodable
,ASN1TaggedObjectParser
,InMemoryRepresentable
,Encodable
Deprecated.
A DER encoding version of an application specific object.
-
Constructor Summary
ConstructorsConstructorDescriptionDLApplicationSpecific
(boolean explicit, int tagNo, ASN1Encodable baseEncodable) Deprecated.Create an application specific object with the tagging style given by the value of explicit.DLApplicationSpecific
(int tagNo, byte[] contentsOctets) Deprecated.Create an application specific object from the passed in data.DLApplicationSpecific
(int tagNo, ASN1Encodable baseEncodable) Deprecated.Create an application specific object with a tagging of explicit/constructed.DLApplicationSpecific
(int tagNo, ASN1EncodableVector contentsElements) Deprecated.Create an application specific object which is marked as constructed -
Method Summary
Methods inherited from class org.bouncycastle.asn1.ASN1ApplicationSpecific
getApplicationTag, getContents, getEnclosedObject, getInstance, getLoadedObject, getObject, getObject, getObjectParser, getTagClass, getTaggedObject, getTagNo, hasApplicationTag, hasContextTag, hashCode, hasTag, isConstructed, parseBaseUniversal, parseExplicitBaseObject, parseExplicitBaseTagged, parseImplicitBaseTagged, readObject
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, toString, wait, wait, wait
Methods inherited from interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
-
Constructor Details
-
DLApplicationSpecific
public DLApplicationSpecific(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.
-
DLApplicationSpecific
Deprecated.Create an application specific object with a tagging of explicit/constructed.- Parameters:
tagNo
- the tag number for this object.baseEncodable
- the object to be contained.- Throws:
IOException
-
DLApplicationSpecific
public DLApplicationSpecific(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
-
DLApplicationSpecific
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.
-
ASN1ApplicationSpecific
.