ASN1Encodable
, Encodable
public class DERApplicationSpecific extends ASN1ApplicationSpecific
isConstructed, octets, tag
Constructor | Description |
---|---|
DERApplicationSpecific(boolean constructed,
int tag,
ASN1Encodable object) |
Create an application specific object with the tagging style given by the value of constructed.
|
DERApplicationSpecific(int tag,
byte[] octets) |
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(int tagNo,
ASN1EncodableVector vec) |
Create an application specific object which is marked as constructed
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
toString() |
getApplicationTag, getContents, getInstance, getLengthOfHeader, getObject, getObject, hashCode, isConstructed
getEncoded, getEncoded, hasEncodedTagValue, toASN1Object
equals, fromByteArray, toASN1Primitive
public DERApplicationSpecific(int tag, byte[] octets)
tag
- the tag number for this object.octets
- the encoding of the object's body.public DERApplicationSpecific(int tag, ASN1Encodable object) throws java.io.IOException
tag
- the tag number for this object.object
- the object to be contained.java.io.IOException
public DERApplicationSpecific(boolean constructed, int tag, ASN1Encodable object) throws java.io.IOException
constructed
- true if the object is constructed.tag
- the tag number for this object.object
- the object to be contained.java.io.IOException
public DERApplicationSpecific(int tagNo, ASN1EncodableVector vec)
tagNo
- the tag number for this object.vec
- the objects making up the application specific object.