public class DERApplicationSpecific extends ASN1Primitive
Constructor and Description |
---|
DERApplicationSpecific(boolean explicit,
int tag,
ASN1Encodable object) |
DERApplicationSpecific(int tag,
ASN1Encodable object) |
DERApplicationSpecific(int tagNo,
ASN1EncodableVector vec) |
DERApplicationSpecific(int tag,
byte[] octets) |
Modifier and Type | Method and Description |
---|---|
int |
getApplicationTag() |
byte[] |
getContents() |
static DERApplicationSpecific |
getInstance(java.lang.Object obj) |
ASN1Primitive |
getObject()
Return the enclosed object assuming explicit tagging.
|
ASN1Primitive |
getObject(int derTagNo)
Return the enclosed object assuming implicit tagging.
|
int |
hashCode() |
boolean |
isConstructed() |
equals, fromByteArray, toASN1Primitive
getEncoded, getEncoded, hasEncodedTagValue, toASN1Object
public DERApplicationSpecific(int tag, byte[] octets)
public DERApplicationSpecific(int tag, ASN1Encodable object) throws java.io.IOException
java.io.IOException
public DERApplicationSpecific(boolean explicit, int tag, ASN1Encodable object) throws java.io.IOException
java.io.IOException
public DERApplicationSpecific(int tagNo, ASN1EncodableVector vec)
public static DERApplicationSpecific getInstance(java.lang.Object obj)
public boolean isConstructed()
public byte[] getContents()
public int getApplicationTag()
public ASN1Primitive getObject() throws java.io.IOException
java.io.IOException
- if reconstruction fails.public ASN1Primitive getObject(int derTagNo) throws java.io.IOException
derTagNo
- the type tag that should be applied to the object's contents.java.io.IOException
- if reconstruction fails.public int hashCode()
hashCode
in class ASN1Primitive