org.bouncycastle.asn1

Class DERApplicationSpecific

Implemented Interfaces:
DEREncodable, DERTags

public class DERApplicationSpecific
extends DERObject

Base class for an application specific object

Fields inherited from interface org.bouncycastle.asn1.DERTags

APPLICATION, BIT_STRING, BMP_STRING, BOOLEAN, CONSTRUCTED, ENUMERATED, EXTERNAL, GENERALIZED_TIME, GENERAL_STRING, GRAPHIC_STRING, IA5_STRING, INTEGER, NULL, NUMERIC_STRING, OBJECT_IDENTIFIER, OCTET_STRING, PRINTABLE_STRING, SEQUENCE, SEQUENCE_OF, SET, SET_OF, T61_STRING, TAGGED, UNIVERSAL_STRING, UTC_TIME, UTF8_STRING, VIDEOTEX_STRING, VISIBLE_STRING

Constructor Summary

DERApplicationSpecific(int tag, byte[] octets)
DERApplicationSpecific(int tag, DEREncodable object)

Method Summary

boolean
equals(Object o)
int
getApplicationTag()
byte[]
getContents()
DERObject
getObject()
int
hashCode()
boolean
isConstructed()

Methods inherited from class org.bouncycastle.asn1.DERObject

equals, hashCode, toASN1Object

Methods inherited from class org.bouncycastle.asn1.ASN1Encodable

equals, getDERObject, getEncoded, hashCode, toASN1Object

Constructor Details

DERApplicationSpecific

public DERApplicationSpecific(int tag,
                              byte[] octets)


DERApplicationSpecific

public DERApplicationSpecific(int tag,
                              DEREncodable object)
            throws IOException

Method Details

equals

public boolean equals(Object o)
Overrides:
equals in interface DERObject


getApplicationTag

public int getApplicationTag()


getContents

public byte[] getContents()


getObject

public DERObject getObject()
            throws IOException


hashCode

public int hashCode()
Overrides:
hashCode in interface DERObject


isConstructed

public boolean isConstructed()