com.lowagie.bc.asn1

Class DERApplicationSpecific

Implemented Interfaces:
DEREncodable, DERTags

public class DERApplicationSpecific
extends DERObject

Base class for an application specific object

Field Summary

private byte[]
octets
private int
tag

Fields inherited from interface com.lowagie.bc.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

(package private) void
encode(DEROutputStream out)
int
getApplicationTag()
byte[]
getContents()
DERObject
getObject()
boolean
isConstructed()

Methods inherited from class com.lowagie.bc.asn1.DERObject

encode, getDERObject

Field Details

octets

private byte[] octets

tag

private int tag

Constructor Details

DERApplicationSpecific

public DERApplicationSpecific(int tag,
                              byte[] octets)

DERApplicationSpecific

public DERApplicationSpecific(int tag,
                              DEREncodable object)
            throws IOException

Method Details

encode

(package private)  void encode(DEROutputStream out)
            throws IOException
Overrides:
encode in interface DERObject

getApplicationTag

public int getApplicationTag()

getContents

public byte[] getContents()

getObject

public DERObject getObject()
            throws IOException

isConstructed

public boolean isConstructed()