HomeSort by relevance Sort by last modified time
    Searched refs:BigInteger (Results 1 - 25 of 222) sorted by null

1 2 3 4 5 6 7 8 9

  /libcore/luni/src/test/java/libcore/java/math/
BigIntegerTest.java 19 import java.math.BigInteger;
22 // http://b/2981072 - off-by-one error in BigInteger.valueOf
27 assertEquals(i, BigInteger.valueOf(i).intValue());
34 new BigInteger("1", 10);
35 new BigInteger("1a", 16);
36 new BigInteger("-1", 10);
37 new BigInteger("-1a", 16);
38 new BigInteger("\u0661", 10);
39 new BigInteger("\u0661a", 16);
40 new BigInteger("-\u0661", 10)
    [all...]
OldBigIntegerDivideTest.java 24 import java.math.BigInteger;
37 BigInteger aNumber = new BigInteger(aSign, aBytes);
38 BigInteger bNumber = new BigInteger(bSign, bBytes);
  /libcore/luni/src/main/java/java/security/interfaces/
DSAParams.java 20 import java.math.BigInteger;
32 public BigInteger getG();
39 public BigInteger getP();
46 public BigInteger getQ();
RSAMultiPrimePrivateCrtKey.java 20 import java.math.BigInteger;
40 public BigInteger getCrtCoefficient();
55 public BigInteger getPrimeP();
62 public BigInteger getPrimeQ();
69 public BigInteger getPrimeExponentP();
76 public BigInteger getPrimeExponentQ();
83 public BigInteger getPublicExponent();
RSAPrivateCrtKey.java 20 import java.math.BigInteger;
37 public BigInteger getCrtCoefficient();
44 public BigInteger getPrimeP();
51 public BigInteger getPrimeQ();
58 public BigInteger getPrimeExponentP();
65 public BigInteger getPrimeExponentQ();
72 public BigInteger getPublicExponent();
RSAKey.java 20 import java.math.BigInteger;
32 public BigInteger getModulus();
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/params/
RSAPrivateCrtKeyParameters.java 3 import java.math.BigInteger;
8 private BigInteger e;
9 private BigInteger p;
10 private BigInteger q;
11 private BigInteger dP;
12 private BigInteger dQ;
13 private BigInteger qInv;
19 BigInteger modulus,
20 BigInteger publicExponent,
21 BigInteger privateExponent
    [all...]
RSAKeyParameters.java 3 import java.math.BigInteger;
8 private BigInteger modulus;
9 private BigInteger exponent;
13 BigInteger modulus,
14 BigInteger exponent)
22 public BigInteger getModulus()
27 public BigInteger getExponent()
  /libcore/luni/src/main/java/java/security/spec/
RSAPrivateCrtKeySpec.java 20 import java.math.BigInteger;
32 private final BigInteger publicExponent;
34 private final BigInteger primeP;
36 private final BigInteger primeQ;
38 private final BigInteger primeExponentP;
40 private final BigInteger primeExponentQ;
42 private final BigInteger crtCoefficient;
66 public RSAPrivateCrtKeySpec(BigInteger modulus,
67 BigInteger publicExponent,
68 BigInteger privateExponent
    [all...]
DSAParameterSpec.java 20 import java.math.BigInteger;
28 private final BigInteger p;
30 private final BigInteger q;
32 private final BigInteger g;
45 public DSAParameterSpec(BigInteger p, BigInteger q, BigInteger g) {
56 public BigInteger getG() {
65 public BigInteger getP() {
74 public BigInteger getQ()
    [all...]
DSAPrivateKeySpec.java 20 import java.math.BigInteger;
27 private final BigInteger x;
29 private final BigInteger p;
31 private final BigInteger q;
33 private final BigInteger g;
48 public DSAPrivateKeySpec(BigInteger x, BigInteger p,
49 BigInteger q, BigInteger g) {
61 public BigInteger getG()
    [all...]
DSAPublicKeySpec.java 20 import java.math.BigInteger;
27 private final BigInteger y;
29 private final BigInteger p;
31 private final BigInteger q;
33 private final BigInteger g;
48 public DSAPublicKeySpec(BigInteger y, BigInteger p,
49 BigInteger q, BigInteger g) {
61 public BigInteger getG()
    [all...]
RSAPrivateKeySpec.java 20 import java.math.BigInteger;
31 private final BigInteger modulus;
33 private final BigInteger privateExponent;
44 public RSAPrivateKeySpec(BigInteger modulus, BigInteger privateExponent) {
54 public BigInteger getModulus() {
63 public BigInteger getPrivateExponent() {
RSAPublicKeySpec.java 20 import java.math.BigInteger;
31 private final BigInteger modulus;
33 private final BigInteger publicExponent;
44 public RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent) {
54 public BigInteger getModulus() {
63 public BigInteger getPublicExponent() {
RSAKeyGenParameterSpec.java 20 import java.math.BigInteger;
30 public static final BigInteger F0 = BigInteger.valueOf(3L);
35 public static final BigInteger F4 = BigInteger.valueOf(65537L);
40 private final BigInteger publicExponent;
51 public RSAKeyGenParameterSpec(int keysize, BigInteger publicExponent) {
70 public BigInteger getPublicExponent() {
RSAOtherPrimeInfo.java 20 import java.math.BigInteger;
32 private final BigInteger prime;
34 private final BigInteger primeExponent;
36 private final BigInteger crtCoefficient;
49 public RSAOtherPrimeInfo(BigInteger prime,
50 BigInteger primeExponent, BigInteger crtCoefficient) {
70 public final BigInteger getCrtCoefficient() {
79 public final BigInteger getPrime() {
88 public final BigInteger getExponent()
    [all...]
  /libcore/luni/src/test/java/tests/security/spec/
RSAMultiPrimePrivateCrtKeySpecTest.java 32 import java.math.BigInteger;
48 new RSAOtherPrimeInfo(BigInteger.ONE, BigInteger.ONE, BigInteger.ONE),
49 new RSAOtherPrimeInfo(BigInteger.ONE, BigInteger.ONE, BigInteger.ONE),
50 new RSAOtherPrimeInfo(BigInteger.ONE, BigInteger.ONE, BigInteger.ONE
    [all...]
RSAPrivateCrtKeySpecTest.java 32 import java.math.BigInteger;
53 args = {java.math.BigInteger.class, java.math.BigInteger.class, java.math.BigInteger.class, java.math.BigInteger.class, java.math.BigInteger.class, java.math.BigInteger.class, java.math.BigInteger.class, java.math.BigInteger.class}
57 BigInteger.ONE
    [all...]
DSAPrivateKeySpecTest.java 32 import java.math.BigInteger;
50 args = {java.math.BigInteger.class, java.math.BigInteger.class, java.math.BigInteger.class, java.math.BigInteger.class}
54 new BigInteger("1"),
55 new BigInteger("2"),
56 new BigInteger("3"),
57 new BigInteger("4"));
73 new BigInteger("1")
    [all...]
  /libcore/luni/src/main/java/javax/crypto/spec/
DHPrivateKeySpec.java 20 import java.math.BigInteger;
28 private final BigInteger x;
29 private final BigInteger p;
30 private final BigInteger g;
44 public DHPrivateKeySpec(BigInteger x, BigInteger p, BigInteger g) {
55 public BigInteger getX() {
64 public BigInteger getP() {
73 public BigInteger getG()
    [all...]
DHPublicKeySpec.java 20 import java.math.BigInteger;
28 private final BigInteger y;
29 private final BigInteger p;
30 private final BigInteger g;
44 public DHPublicKeySpec(BigInteger y, BigInteger p, BigInteger g) {
55 public BigInteger getY() {
64 public BigInteger getP() {
73 public BigInteger getG()
    [all...]
DHParameterSpec.java 20 import java.math.BigInteger;
28 private final BigInteger p;
29 private final BigInteger g;
41 public DHParameterSpec(BigInteger p, BigInteger g) {
59 public DHParameterSpec(BigInteger p, BigInteger g, int l) {
70 public BigInteger getP() {
79 public BigInteger getG() {
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/
DSA.java 3 import java.math.BigInteger;
26 public BigInteger[] generateSignature(byte[] message);
35 public boolean verifySignature(byte[] message, BigInteger r, BigInteger s);
  /libcore/luni/src/test/java/tests/security/interfaces/
Util.java 17 import java.math.BigInteger;
33 static final BigInteger P = new BigInteger(
44 static final BigInteger Q = new BigInteger(
50 static final BigInteger G = new BigInteger(
61 static final BigInteger RND_RET = new BigInteger("10");
67 BigInteger.valueOf(3233), BigInteger.valueOf(17)
    [all...]
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/interfaces/
RSAMultiPrimePrivateCrtKeyImpl.java 21 import java.math.BigInteger;
31 private BigInteger crtCoefficient = null;
32 private BigInteger publicExponent = null;
33 private BigInteger primeExponentP = null;
34 private BigInteger primeExponentQ = null;
35 private BigInteger primeP = null;
36 private BigInteger primeQ = null;
39 public RSAMultiPrimePrivateCrtKeyImpl(BigInteger publicExp,
40 BigInteger primeExpP,
41 BigInteger primeExpQ
    [all...]

Completed in 4317 milliseconds

1 2 3 4 5 6 7 8 9