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

1 2 3 4 5 6 7 8 91011>>

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
ECConstants.java 3 import java.math.BigInteger;
7 public static final BigInteger ZERO = BigInteger.valueOf(0);
8 public static final BigInteger ONE = BigInteger.valueOf(1);
9 public static final BigInteger TWO = BigInteger.valueOf(2);
10 public static final BigInteger THREE = BigInteger.valueOf(3);
11 public static final BigInteger FOUR = BigInteger.valueOf(4)
    [all...]
  /libcore/luni/src/test/java/libcore/java/math/
BigIntegerTest.java 19 import java.math.BigInteger;
24 BigInteger firstBig = new BigInteger("30003543667898318853");
25 BigInteger secondBig = new BigInteger("3298535022597");
26 BigInteger andedBigs = firstBig.and(secondBig);
27 BigInteger toCompareBig = BigInteger.valueOf(andedBigs.longValue());
32 // http://b/2981072 - off-by-one error in BigInteger.valueOf
37 assertEquals(i, BigInteger.valueOf(i).intValue())
    [all...]
  /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();
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
RSAPrivateCrtKeySpecTest.java 24 import java.math.BigInteger;
52 BigInteger.ONE,
53 BigInteger.ONE,
54 BigInteger.ONE,
55 BigInteger.ONE,
56 BigInteger.ONE,
57 BigInteger.ONE,
58 BigInteger.ONE,
59 BigInteger.ONE);
70 BigInteger.ONE
    [all...]
RSAMultiPrimePrivateCrtKeySpecTest.java 24 import java.math.BigInteger;
41 new RSAOtherPrimeInfo(BigInteger.ONE, BigInteger.ONE, BigInteger.ONE),
42 new RSAOtherPrimeInfo(BigInteger.ONE, BigInteger.ONE, BigInteger.ONE),
43 new RSAOtherPrimeInfo(BigInteger.ONE, BigInteger.ONE, BigInteger.ONE
    [all...]
  /libcore/luni/src/test/java/tests/security/spec/
RSAPrivateCrtKeySpecTest.java 27 import java.math.BigInteger;
45 BigInteger.ONE,
46 BigInteger.ONE,
47 BigInteger.ONE,
48 BigInteger.ONE,
49 BigInteger.ONE,
50 BigInteger.ONE,
51 BigInteger.ONE,
52 BigInteger.ONE);
63 BigInteger.ONE
    [all...]
DSAPrivateKeySpecTest.java 27 import java.math.BigInteger;
42 new BigInteger("1"),
43 new BigInteger("2"),
44 new BigInteger("3"),
45 new BigInteger("4"));
55 new BigInteger("1"),
56 new BigInteger("2"),
57 new BigInteger("3"),
58 new BigInteger("4"));
68 new BigInteger("1")
    [all...]
DSAPublicKeySpecTest.java 27 import java.math.BigInteger;
42 new BigInteger("1"), // y
43 new BigInteger("2"), // p
44 new BigInteger("3"), // q
45 new BigInteger("4"));// g
55 new BigInteger("1"), // y
56 new BigInteger("2"), // p
57 new BigInteger("3"), // q
58 new BigInteger("4"));// g
68 new BigInteger("1"), //
    [all...]
RSAMultiPrimePrivateCrtKeySpecTest.java 27 import java.math.BigInteger;
42 new RSAOtherPrimeInfo(BigInteger.ONE, BigInteger.ONE, BigInteger.ONE),
43 new RSAOtherPrimeInfo(BigInteger.ONE, BigInteger.ONE, BigInteger.ONE),
44 new RSAOtherPrimeInfo(BigInteger.ONE, BigInteger.ONE, BigInteger.ONE
    [all...]
  /external/bouncycastle/bcprov/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() {
  /external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/signature/
RSAPrivateKey.java 7 import java.math.BigInteger;
17 private BigInteger d;
18 private BigInteger e;
19 private BigInteger n;
21 public RSAPrivateKey(BigInteger d, BigInteger e, BigInteger n)
28 public BigInteger getD()
33 public BigInteger getE()
38 public BigInteger getN(
    [all...]
DSAPublicKey.java 7 import java.math.BigInteger;
17 private BigInteger p;
18 private BigInteger q;
19 private BigInteger g;
20 private BigInteger y;
22 public DSAPublicKey(BigInteger p, BigInteger q, BigInteger g, BigInteger y)
30 public BigInteger getP(
    [all...]
DSASignature.java 7 import java.math.BigInteger;
17 private BigInteger r;
18 private BigInteger s;
20 public DSASignature(BigInteger r, BigInteger s)
26 public BigInteger getR()
31 public BigInteger getS()
RSAPublicKey.java 7 import java.math.BigInteger;
17 BigInteger e;
18 BigInteger n;
20 public RSAPublicKey(BigInteger e, BigInteger n)
26 public BigInteger getE()
31 public BigInteger getN()
  /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...]

Completed in 1234 milliseconds

1 2 3 4 5 6 7 8 91011>>