|
Bouncy Castle Cryptography 1.50 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.ASN1Primitive
org.bouncycastle.asn1.DERInteger
public class DERInteger
Use ASN1Integer instead of this,
Constructor Summary | |
---|---|
DERInteger(java.math.BigInteger value)
Deprecated. use ASN1Integer constructor |
|
DERInteger(byte[] bytes)
Deprecated. use ASN1Integer constructor |
|
DERInteger(long value)
Deprecated. use ASN1Integer constructor |
Method Summary | |
---|---|
static ASN1Integer |
getInstance(ASN1TaggedObject obj,
boolean explicit)
return an Integer from a tagged object. |
static ASN1Integer |
getInstance(java.lang.Object obj)
return an integer from the passed in object |
java.math.BigInteger |
getPositiveValue()
in some cases positive values get crammed into a space, that's not quite big enough... |
java.math.BigInteger |
getValue()
|
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class org.bouncycastle.asn1.ASN1Primitive |
---|
equals, fromByteArray, toASN1Primitive |
Methods inherited from class org.bouncycastle.asn1.ASN1Object |
---|
getEncoded, getEncoded, hasEncodedTagValue, toASN1Object |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DERInteger(long value)
public DERInteger(java.math.BigInteger value)
public DERInteger(byte[] bytes)
Method Detail |
---|
public static ASN1Integer getInstance(java.lang.Object obj)
java.lang.IllegalArgumentException
- if the object cannot be converted.public static ASN1Integer getInstance(ASN1TaggedObject obj, boolean explicit)
obj
- the tagged object holding the object we wantexplicit
- true if the object is meant to be explicitly
tagged false otherwise.
java.lang.IllegalArgumentException
- if the tagged object cannot
be converted.public java.math.BigInteger getValue()
public java.math.BigInteger getPositiveValue()
public int hashCode()
hashCode
in class ASN1Primitive
public java.lang.String toString()
toString
in class java.lang.Object
|
Bouncy Castle Cryptography 1.50 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |