com.mindbright.asn1
Class ASN1OID

java.lang.Object
  extended bycom.mindbright.asn1.ASN1Object
      extended bycom.mindbright.asn1.ASN1OID

public class ASN1OID
extends ASN1Object


Field Summary
 
Fields inherited from class com.mindbright.asn1.ASN1Object
isSet, tag
 
Constructor Summary
ASN1OID()
           
 
Method Summary
 void decodeValue(ASN1Decoder decoder, java.io.InputStream in, int len)
           
 int encodeValue(ASN1Encoder encoder, java.io.OutputStream out)
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String getString()
           
 int[] getValue()
           
 int hashCode()
           
 void setString(java.lang.String oid)
           
 void setValue(int[] value)
           
 
Methods inherited from class com.mindbright.asn1.ASN1Object
decodeValue, getTag, getType, isSet, setValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASN1OID

public ASN1OID()
Method Detail

encodeValue

public int encodeValue(ASN1Encoder encoder,
                       java.io.OutputStream out)
                throws java.io.IOException
Specified by:
encodeValue in class ASN1Object
Throws:
java.io.IOException

decodeValue

public void decodeValue(ASN1Decoder decoder,
                        java.io.InputStream in,
                        int len)
                 throws java.io.IOException
Overrides:
decodeValue in class ASN1Object
Throws:
java.io.IOException

setValue

public void setValue(int[] value)

getValue

public int[] getValue()

setString

public void setString(java.lang.String oid)
               throws java.lang.NumberFormatException
Throws:
java.lang.NumberFormatException

getString

public java.lang.String getString()

equals

public boolean equals(java.lang.Object obj)

hashCode

public int hashCode()