/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/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/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; 40 new RSAOtherPrimeInfo(BigInteger.ONE, BigInteger.ONE, BigInteger.ONE), 41 new RSAOtherPrimeInfo(BigInteger.ONE, BigInteger.ONE, BigInteger.ONE), 42 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() {
|
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() {
|
/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...] |
/external/bouncycastle/bcprov/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/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
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 bNumber = new BigInteger(numB) [all...] |
/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...] |