Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.lowagie.bc.asn1
Class DERApplicationSpecific  view DERApplicationSpecific download DERApplicationSpecific.java

java.lang.Object
  extended bycom.lowagie.bc.asn1.DERObject
      extended bycom.lowagie.bc.asn1.DERApplicationSpecific
All 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, GENERAL_STRING, GENERALIZED_TIME, 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
getDERObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tag

private int tag

octets

private byte[] octets
Constructor Detail

DERApplicationSpecific

public DERApplicationSpecific(int tag,
                              byte[] octets)

DERApplicationSpecific

public DERApplicationSpecific(int tag,
                              DEREncodable object)
                       throws java.io.IOException
Method Detail

isConstructed

public boolean isConstructed()

getContents

public byte[] getContents()

getApplicationTag

public int getApplicationTag()

getObject

public DERObject getObject()
                    throws java.io.IOException

encode

void encode(DEROutputStream out)
      throws java.io.IOException
Specified by:
encode in class DERObject