org.apache.asn1.der
Class BERTaggedObject

java.lang.Object
  extended by org.apache.asn1.der.DERTaggedObject
      extended by org.apache.asn1.der.BERTaggedObject
All Implemented Interfaces:
DEREncodable

public class BERTaggedObject
extends DERTaggedObject

BER TaggedObject


Field Summary
 
Fields inherited from class org.apache.asn1.der.DERTaggedObject
empty, explicit, obj, tag
 
Constructor Summary
BERTaggedObject(boolean explicit, int tag, DEREncodable obj)
           
BERTaggedObject(int tag, DEREncodable obj)
           
 
Method Summary
 void encode(ASN1OutputStream out)
           
 
Methods inherited from class org.apache.asn1.der.DERTaggedObject
getObject, getOctets, getTagNo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BERTaggedObject

public BERTaggedObject(int tag,
                       DEREncodable obj)
Parameters:
tag - the tag number for this object.
obj - the tagged object.

BERTaggedObject

public BERTaggedObject(boolean explicit,
                       int tag,
                       DEREncodable obj)
Parameters:
true - if an explicitly tagged object.
tag - the tag number for this object.
obj - the tagged object.
Method Detail

encode

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


Copyright © 2005-2009 . All Rights Reserved.