Package 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
,InMemoryRepresentable
,Encodable
public class DERApplicationSpecific extends ASN1ApplicationSpecific
Deprecated.Will be removed. See comments forASN1ApplicationSpecific
.A DER encoding version of an application specific object.
-
-
Constructor Summary
Constructors Constructor Description 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 tagNo, byte[] contentsOctets)
Deprecated.Create an application specific object from the passed in data.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
-
Method Summary
-
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, getInstance, 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.ASN1Encodable
toASN1Primitive
-
Methods inherited from interface org.bouncycastle.asn1.ASN1TaggedObjectParser
getTagClass, getTagNo, hasTag
-
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.- Throws:
java.io.IOException
-
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.- Throws:
java.io.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.
-
-