public class

DERInteger

extends ASN1Object
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.DERObject
       ↳ org.bouncycastle.asn1.ASN1Object
         ↳ org.bouncycastle.asn1.DERInteger
Known Direct Subclasses

Summary

[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
From interface org.bouncycastle.asn1.DERTags
Public Constructors
DERInteger(int value)
DERInteger(BigInteger value)
DERInteger(byte[] bytes)
Public Methods
static DERInteger getInstance(ASN1TaggedObject obj, boolean explicit)
return an Integer from a tagged object.
static DERInteger getInstance(Object obj)
return an integer from the passed in object
BigInteger getPositiveValue()
in some cases positive values get crammed into a space, that's not quite big enough...
BigInteger getValue()
int hashCode()
String toString()
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.ASN1Object
From class org.bouncycastle.asn1.DERObject
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.DEREncodable

Public Constructors

public DERInteger (int value)

public DERInteger (BigInteger value)

public DERInteger (byte[] bytes)

Public Methods

public static DERInteger getInstance (ASN1TaggedObject obj, boolean explicit)

return an Integer from a tagged object.

Parameters
obj the tagged object holding the object we want
explicit true if the object is meant to be explicitly tagged false otherwise.
Throws
IllegalArgumentException if the tagged object cannot be converted.

public static DERInteger getInstance (Object obj)

return an integer from the passed in object

Throws
IllegalArgumentException if the object cannot be converted.

public BigInteger getPositiveValue ()

in some cases positive values get crammed into a space, that's not quite big enough...

public BigInteger getValue ()

public int hashCode ()

public String toString ()