Package io.anyline.nfc.bouncycastle.asn1
Class DERApplicationSpecific
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1ApplicationSpecificParser
,io.anyline.nfc.bouncycastle.asn1.ASN1Encodable
,io.anyline.nfc.bouncycastle.asn1.ASN1TaggedObjectParser
,io.anyline.nfc.bouncycastle.asn1.InMemoryRepresentable
,io.anyline.nfc.bouncycastle.util.Encodable
public class DERApplicationSpecific extends ASN1ApplicationSpecific
A DER encoding version of an application specific object.
-
-
Field Summary
Fields Modifier and Type Field Description public final ASN1TaggedObject
taggedObject
-
Constructor Summary
Constructors Constructor Description DERApplicationSpecific(int tagNo, Array<byte> contentsOctets)
Create an application specific object from the passed in data. DERApplicationSpecific(int tag, ASN1Encodable object)
Create an application specific object with a tagging of explicit/constructed. DERApplicationSpecific(boolean explicit, int tagNo, ASN1Encodable baseEncodable)
Create an application specific object with the tagging style given by the value of explicit. DERApplicationSpecific(int tagNo, ASN1EncodableVector contentsElements)
Create an application specific object which is marked as constructed
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class io.anyline.nfc.bouncycastle.asn1.ASN1ApplicationSpecific
getApplicationTag, getContents, getEnclosedObject, getInstance, getLoadedObject, getObject, getObject, getObjectParser, getTagClass, getTagNo, getTaggedObject, hasApplicationTag, hasContextTag, hasTag, hashCode, isConstructed, parseBaseUniversal, readObject
-
Methods inherited from class io.anyline.nfc.bouncycastle.asn1.ASN1Primitive
encodeTo, encodeTo, equals, equals, equals, fromByteArray, toASN1Primitive
-
Methods inherited from class io.anyline.nfc.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
DERApplicationSpecific
DERApplicationSpecific(int tagNo, Array<byte> contentsOctets)
Create an application specific object from the passed in data.- Parameters:
tagNo
- the tag number for this object.contentsOctets
- the encoding of the object's body.
-
DERApplicationSpecific
DERApplicationSpecific(int tag, ASN1Encodable object)
Create an application specific object with a tagging of explicit/constructed.- Parameters:
tag
- the tag number for this object.object
- the object to be contained.
-
DERApplicationSpecific
DERApplicationSpecific(boolean explicit, int tagNo, ASN1Encodable baseEncodable)
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
DERApplicationSpecific(int tagNo, ASN1EncodableVector contentsElements)
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.
-
-
-
-