/libcore/luni/src/main/java/java/security/interfaces/ |
H A D | DSAParams.java | 20 import java.math.BigInteger; 32 public BigInteger getG(); 39 public BigInteger getP(); 46 public BigInteger getQ();
|
H A D | 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();
|
H A D | 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();
|
H A D | RSAKey.java | 20 import java.math.BigInteger; 32 public BigInteger getModulus();
|
/libcore/luni/src/test/java/tests/security/spec/ |
H A D | 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 [all...] |
H A D | 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(" [all...] |
H A D | 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(" [all...] |
H A D | 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 [all...] |
H A D | DSAParameterSpecTest.java | 27 import java.math.BigInteger; 42 new BigInteger("1"), 43 new BigInteger("2"), 44 new BigInteger("3")); 54 new BigInteger("1"), 55 new BigInteger("2"), 56 new BigInteger("3")); 66 new BigInteger("1"), 67 new BigInteger("2"), 68 new BigInteger(" [all...] |
/libcore/luni/src/main/java/java/security/spec/ |
H A D | 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 privateExponen [all...] |
H A D | 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 get [all...] |
H A D | 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 get [all...] |
H A D | 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 get [all...] |
H A D | 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() {
|
H A D | 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() {
|
H A D | 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() {
|
H A D | 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 getExponen [all...] |
/libcore/luni/src/main/java/javax/crypto/spec/ |
H A D | 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 get [all...] |
H A D | 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 get [all...] |
H A D | 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() {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
H A D | BigIntegerXorTest.java | 24 import java.math.BigInteger; 27 * Class: java.math.BigInteger 38 BigInteger aNumber = new BigInteger(numA); 39 BigInteger bNumber = new BigInteger(numB); 40 BigInteger result = aNumber.xor(bNumber); 51 BigInteger aNumber = new BigInteger(numA); 52 BigInteger bNumbe [all...] |
H A D | OldBigIntegerTest.java | 20 import java.math.BigInteger; 25 BigInteger minusOne = new BigInteger("-1", 10); 27 BigInteger two = new BigInteger("2", 10); 29 BigInteger aZillion = new BigInteger("100000000000000000000000000000000000000000000000000", 10); 33 BigInteger bi; 35 BigInteger bi2; 37 BigInteger bi [all...] |
/libcore/luni/src/test/java/tests/security/interfaces/ |
H A D | 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 [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/interfaces/ |
H A D | 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 primeExp [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | BigIntegerBenchmark.java | 19 import java.math.BigInteger; 27 BigInteger x = new BigInteger(1024, r); 28 BigInteger y = new BigInteger(1024, r); 36 BigInteger x = new BigInteger(1024, r); 37 BigInteger y = new BigInteger(1024, r); 45 BigInteger [all...] |