|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use BigInt | |
---|---|
org.clazzes.optional.lang | |
org.clazzes.optional.sec.rsa |
Uses of BigInt in org.clazzes.optional.lang |
---|
Methods in org.clazzes.optional.lang that return BigInt | |
---|---|
BigInt |
BigInt.add(BigInt a)
Add a to this and return the result. |
static BigInt |
BigInt.hexValueOf(java.lang.String s)
Parse the given hexadecimal string and return the resulting BigInt. |
BigInt |
BigInt.mod(BigInt b)
Calculate this modulo b . |
BigInt |
BigInt.mul(BigInt a)
Multiply a and this and return the result. |
BigInt |
BigInt.mulMod(BigInt a,
BigInt b)
Multiply a and this and return the result modulo
b . |
BigInt |
BigInt.powMod(BigInt n,
BigInt b)
Calculate this^n and return the result modulo
b . |
BigInt |
BigInt.powMod(int n,
BigInt b)
Calculate this^n and return the result modulo
b . |
static BigInt |
BigInt.readDataInstance(java.io.DataInput in)
Read a positive BigInt from the given data input using a two byte length prefix. |
BigInt |
BigInt.sub(BigInt a)
Subtract a from this and return the result. |
static BigInt |
BigInt.valueOf(byte[] asn1)
Parse an ASN.1 INTEGER representation. |
static BigInt |
BigInt.valueOf(java.lang.String s)
Parse the given decimal string and return the resulting BigInt. |
Methods in org.clazzes.optional.lang with parameters of type BigInt | |
---|---|
BigInt |
BigInt.add(BigInt a)
Add a to this and return the result. |
int |
BigInt.compareTo(BigInt a)
Compare this number with a by taking signs into account. |
BigInt |
BigInt.mod(BigInt b)
Calculate this modulo b . |
BigInt |
BigInt.mul(BigInt a)
Multiply a and this and return the result. |
BigInt |
BigInt.mulMod(BigInt a,
BigInt b)
Multiply a and this and return the result modulo
b . |
BigInt |
BigInt.powMod(BigInt n,
BigInt b)
Calculate this^n and return the result modulo
b . |
BigInt |
BigInt.powMod(int n,
BigInt b)
Calculate this^n and return the result modulo
b . |
BigInt |
BigInt.sub(BigInt a)
Subtract a from this and return the result. |
Uses of BigInt in org.clazzes.optional.sec.rsa |
---|
Methods in org.clazzes.optional.sec.rsa that return BigInt | |
---|---|
protected static BigInt |
RSAPrivKey.decodeBigInt(java.io.DataInputStream dis,
boolean legacy)
Decode an unsigned BigInt from a DataInputStream. |
BigInt |
RSAPrivKey.decryptPlain(BigInt x)
Calculates the plain decrpyt operation x^privExp . |
BigInt |
RSACrtPrivKey.decryptPlain(BigInt x)
|
BigInt |
RSAPubKey.encryptPlain(BigInt plain)
Calculates the plain encrpyt operation x^pubExp . |
BigInt |
RSAPubKey.getExponent()
|
BigInt |
RSAPrivKey.getModulus()
|
BigInt |
RSAPubKey.getModulus()
|
BigInt |
RSAPrivKey.getPubExponent()
|
Methods in org.clazzes.optional.sec.rsa with parameters of type BigInt | |
---|---|
BigInt |
RSAPrivKey.decryptPlain(BigInt x)
Calculates the plain decrpyt operation x^privExp . |
BigInt |
RSACrtPrivKey.decryptPlain(BigInt x)
|
BigInt |
RSAPubKey.encryptPlain(BigInt plain)
Calculates the plain encrpyt operation x^pubExp . |
Constructors in org.clazzes.optional.sec.rsa with parameters of type BigInt | |
---|---|
RSACrtPrivKey(BigInt modulus,
BigInt pubExponent,
BigInt privExponent,
BigInt p,
BigInt q,
BigInt dp,
BigInt dq,
BigInt qi)
|
|
RSAPrivKey(BigInt modulus,
BigInt pubExponent,
BigInt privExponent)
Construct an RSA private key from the given numbers. |
|
RSAPubKey(BigInt modulus,
BigInt exponent)
Construct a new RSA public key by the given modulus and public exponent. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |