|
Bouncy Castle Cryptography 1.45 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.util.BigIntegers
public final class BigIntegers
BigInteger utilities.
| Constructor Summary | |
|---|---|
BigIntegers()
|
|
| Method Summary | |
|---|---|
static byte[] |
asUnsignedByteArray(java.math.BigInteger value)
Return the passed in value as an unsigned byte array. |
static java.math.BigInteger |
createRandomInRange(java.math.BigInteger min,
java.math.BigInteger max,
java.security.SecureRandom random)
Return a random BigInteger not less than 'min' and not greater than 'max' |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BigIntegers()
| Method Detail |
|---|
public static byte[] asUnsignedByteArray(java.math.BigInteger value)
value - value to be converted.
public static java.math.BigInteger createRandomInRange(java.math.BigInteger min,
java.math.BigInteger max,
java.security.SecureRandom random)
min - the least value that may be generatedmax - the greatest value that may be generatedrandom - the source of randomness
|
Bouncy Castle Cryptography 1.45 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||