org.bouncycastle.asn1

Class DERApplicationSpecific

public class DERApplicationSpecific extends ASN1Object

Base class for an application specific object
Constructor Summary
DERApplicationSpecific(int tag, byte[] octets)
DERApplicationSpecific(int tag, DEREncodable object)
DERApplicationSpecific(boolean explicit, int tag, DEREncodable object)
Method Summary
intgetApplicationTag()
byte[]getContents()
DERObjectgetObject()
DERObjectgetObject(int derTagNo)
Return the enclosed object assuming implicit tagging.
inthashCode()
booleanisConstructed()

Constructor Detail

DERApplicationSpecific

public DERApplicationSpecific(int tag, byte[] octets)

DERApplicationSpecific

public DERApplicationSpecific(int tag, DEREncodable object)

DERApplicationSpecific

public DERApplicationSpecific(boolean explicit, int tag, DEREncodable object)

Method Detail

getApplicationTag

public int getApplicationTag()

getContents

public byte[] getContents()

getObject

public DERObject getObject()

getObject

public DERObject getObject(int derTagNo)
Return the enclosed object assuming implicit tagging.

Parameters: derTagNo the type tag that should be applied to the object's contents.

Returns: the resulting object

Throws: IOException if reconstruction fails.

hashCode

public int hashCode()

isConstructed

public boolean isConstructed()