com.mindbright.asn1
Class ASN1Integer
java.lang.Object
com.mindbright.asn1.ASN1Object
com.mindbright.asn1.ASN1Integer
- Direct Known Subclasses:
- DSAPublicKey
public class ASN1Integer
- extends ASN1Object
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
ASN1Integer
public ASN1Integer()
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(java.math.BigInteger value)
setValue
public void setValue(long value)
getValue
public java.math.BigInteger getValue()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object