Package org.bouncycastle.asn1
Class BERApplicationSpecific
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.ASN1Primitive
org.bouncycastle.asn1.ASN1ApplicationSpecific
org.bouncycastle.asn1.BERApplicationSpecific
- All Implemented Interfaces:
ASN1ApplicationSpecificParser
,ASN1Encodable
,ASN1TaggedObjectParser
,InMemoryRepresentable
,Encodable
Deprecated.
An indefinite-length encoding version of an ASN.1 ApplicationSpecific object.
-
Constructor Summary
ConstructorsConstructorDescriptionBERApplicationSpecific
(boolean explicit, int tagNo, ASN1Encodable baseEncodable) Deprecated.Create an application specific object with the tagging style given by the value of explicit.BERApplicationSpecific
(int tagNo, ASN1Encodable baseEncodable) Deprecated.Create an application specific object with an explicit tagBERApplicationSpecific
(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
-
BERApplicationSpecific
Deprecated.Create an application specific object with an explicit tag- Parameters:
tagNo
- the tag number for this object.baseEncodable
- the object to be contained.- Throws:
IOException
-
BERApplicationSpecific
public BERApplicationSpecific(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
-
BERApplicationSpecific
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
.