org.apache.asn1.der
Class DERApplicationSpecific

java.lang.Object
  extended byorg.apache.asn1.der.DERObject
      extended byorg.apache.asn1.der.DERApplicationSpecific
All Implemented Interfaces:
DEREncodable

public class DERApplicationSpecific
extends DERObject

DER Application Specific object.


Field Summary
private  int tag
           
 
Fields inherited from class org.apache.asn1.der.DERObject
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, SET, T61_STRING, TAGGED, TERMINATOR, UNIVERSAL_STRING, UTC_TIME, UTF8_STRING, value, VIDEOTEX_STRING, VISIBLE_STRING
 
Constructor Summary
DERApplicationSpecific(int tag, byte[] value)
          Basic DERObject constructor.
 
Method Summary
 void encode(ASN1OutputStream out)
           
 int getApplicationTag()
           
 DEREncodable getObject()
           
static DERApplicationSpecific valueOf(int tag, DEREncodable object)
          Static factory method, type-conversion operator.
 
Methods inherited from class org.apache.asn1.der.DERObject
equals, getOctets, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tag

private int tag
Constructor Detail

DERApplicationSpecific

public DERApplicationSpecific(int tag,
                              byte[] value)
Basic DERObject constructor.

Method Detail

valueOf

public static DERApplicationSpecific valueOf(int tag,
                                             DEREncodable object)
                                      throws java.io.IOException
Static factory method, type-conversion operator.

Throws:
java.io.IOException

getApplicationTag

public int getApplicationTag()

getObject

public DEREncodable getObject()
                       throws java.io.IOException
Throws:
java.io.IOException

encode

public void encode(ASN1OutputStream out)
            throws java.io.IOException
Specified by:
encode in interface DEREncodable
Overrides:
encode in class DERObject
Throws:
java.io.IOException


Copyright © 2005-2006 . All Rights Reserved.