/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
NumberFormatTest.java | 52 out = format.format(new java.math.BigInteger(String 58 out = format.format(new java.math.BigInteger(String 63 java.math.BigInteger big; 65 big = new java.math.BigInteger(String.valueOf(Long.MAX_VALUE)) 66 .add(new java.math.BigInteger("1")); 72 big = new java.math.BigInteger(String.valueOf(Long.MIN_VALUE)) 73 .add(new java.math.BigInteger("-1"));
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/ |
CertificateTest.java | 26 import java.math.BigInteger; 124 BigInteger serialNumber = BigInteger.valueOf(555L); 142 BigInteger.valueOf(55L).toByteArray()))),
|
CertificateListTest.java | 27 import java.math.BigInteger; 111 new TBSCertList.RevokedCertificate(BigInteger.valueOf(555), 113 new TBSCertList.RevokedCertificate(BigInteger.valueOf(666), 115 new TBSCertList.RevokedCertificate(BigInteger.valueOf(777), 122 BigInteger.valueOf(4444).toByteArray())), 219 BigInteger.valueOf(555)).getCertificateIssuer());
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/tsp/ |
TimeStampRespTest.java | 21 import java.math.BigInteger; 64 BigInteger nonce = BigInteger.valueOf(1234567890L); 76 TSTInfo tSTInfo = new TSTInfo(1, policy, msgImprint, BigInteger.TEN,
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
ClientKeyExchangeTest.java | 21 import java.math.BigInteger; 96 * Test for void ClientKeyExchange(BigInteger) 99 BigInteger dh_Yc = new BigInteger("1234567890"); 106 assertEquals("incorrect ClientKeyExchange", dh_Yc, new BigInteger(
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/asymmetric/ec/ |
EC5Util.java | 3 import java.math.BigInteger; 51 BigInteger a = ec.getA(); 52 BigInteger b = ec.getB(); 104 BigInteger.valueOf(ecSpec.getCofactor()),
|
/external/bouncycastle/src/main/java/org/bouncycastle/x509/ |
X509CRLStoreSelector.java | 10 import java.math.BigInteger; 31 private BigInteger maxBaseCRLNumber = null; 269 * @see #setMaxBaseCRLNumber(BigInteger) 271 public BigInteger getMaxBaseCRLNumber() 286 public void setMaxBaseCRLNumber(BigInteger maxBaseCRLNumber)
|
/libcore/luni/src/test/java/libcore/java/math/ |
OldBigDecimalArithmeticTest.java | 21 import java.math.BigInteger; 117 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); 330 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); 331 BigDecimal bNumber = new BigDecimal(new BigInteger(b), bScale); 384 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); 385 BigDecimal bNumber = new BigDecimal(new BigInteger(b), bScale); 433 BigDecimal aNumber = new BigDecimal(new BigInteger(a), aScale); 434 BigDecimal bNumber = new BigDecimal(new BigInteger(b), bScale); 480 bd = new BigDecimal(new BigInteger("123456789012345678"), 3, mc); 545 BigDecimal aNumber = new BigDecimal(new BigInteger(a)) [all...] |
OldBigDecimalConstructorsTest.java | 24 import java.math.BigInteger; 32 * new BigDecimal(BigInteger value, MathContext) 36 BigInteger bA = new BigInteger(a); 49 BigInteger bi = new BigInteger( "12345678901234567890123456789012345"); 50 BigInteger nbi = new BigInteger("-12345678901234567890123456789012345"); 81 bd = new BigDecimal(new BigInteger("-12345678901234567890123456789012335"), mc); 112 * new BigDecimal(BigInteger value, int scale, MathContext [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
X509CRLEntryTest.java | 24 import java.math.BigInteger; 65 public BigInteger getSerialNumber() {
|
/libcore/luni/src/main/java/java/security/cert/ |
X509CRL.java | 21 import java.math.BigInteger; 209 public abstract X509CRLEntry getRevokedCertificate(BigInteger serialNumber);
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/ |
X509CRLEntryImpl.java | 25 import java.math.BigInteger; 94 public BigInteger getSerialNumber() {
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
TBSCertificate.java | 25 import java.math.BigInteger; 68 private final BigInteger serialNumber; 88 public TBSCertificate(int version, BigInteger serialNumber, 106 private TBSCertificate(int version, BigInteger serialNumber, 127 public BigInteger getSerialNumber() { 255 new BigInteger((byte[]) values[1]),
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
PKIXCertPathValidatorSpi.java | 4 import java.math.BigInteger; 47 private static final Set<BigInteger> SERIAL_BLACKLIST = new HashSet<BigInteger>(Arrays.asList( 49 new BigInteger(1, new byte[] {(byte)0x07,(byte)0x7a,(byte)0x59,(byte)0xbc,(byte)0xd5,(byte)0x34,(byte)0x59,(byte)0x60,(byte)0x1c,(byte)0xa6,(byte)0x90,(byte)0x72,(byte)0x67,(byte)0xa6,(byte)0xdd,(byte)0x1c}), 51 new BigInteger(1, new byte[] {(byte)0x04,(byte)0x7e,(byte)0xcb,(byte)0xe9,(byte)0xfc,(byte)0xa5,(byte)0x5f,(byte)0x7b,(byte)0xd0,(byte)0x9e,(byte)0xae,(byte)0x36,(byte)0xe1,(byte)0x0c,(byte)0xae,(byte)0x1e}), 52 new BigInteger(1, new byte[] {(byte)0xd8,(byte)0xf3,(byte)0x5f,(byte)0x4e,(byte)0xb7,(byte)0x87,(byte)0x2b,(byte)0x2d,(byte)0xab,(byte)0x06,(byte)0x92,(byte)0xe3,(byte)0x15,(byte)0x38,(byte)0x2f,(byte)0xb0}), 53 new BigInteger(1, new byte[] {(byte)0xb0,(byte)0xb7,(byte)0x13,(byte)0x3e,(byte)0xd0,(byte)0x96,(byte)0xf9,(byte)0xb5,(byte)0x6f,(byte)0xae,(byte)0x91,(byte)0xc8,(byte)0x74,(byte)0xbd,(byte)0x3a,(byte)0xc0}), 54 new BigInteger(1, new byte[] {(byte)0x92,(byte)0x39,(byte)0xd5,(byte)0x34,(byte)0x8f,(byte)0x40,(byte)0xd1,(byte)0x69,(byte)0x5a,(byte)0x74,(byte)0x54,(byte)0x70,(byte)0xe1,(byte)0xf2,(byte)0x3f,(byte)0x43}), 55 new BigInteger(1, new byte[] {(byte)0xe9,(byte)0x02,(byte)0x8b,(byte)0x95,(byte)0x78,(byte)0xe4,(byte)0x15,(byte)0xdc,(byte)0x1a,(byte)0x71,(byte)0x0a,(byte)0x2b,(byte)0x88,(byte)0x15,(byte)0x44,(byte)0x47}), 56 new BigInteger(1, new byte[] {(byte)0xd7,(byte)0x55,(byte)0x8f,(byte)0xda,(byte)0xf5,(byte)0xf1,(byte)0x10,(byte) (…) [all...] |
/libcore/dalvik/src/test/java/dalvik/system/profiler/ |
SamplingProfilerTest.java | 33 import java.math.BigInteger; 69 private static final byte[] P = new BigInteger(P_STR,16).toByteArray(); 70 private static final byte[] G = new BigInteger(G_STR,16).toByteArray(); 75 BigInteger p = new BigInteger(P); 76 BigInteger g = new BigInteger(G);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/cert/ |
X509CRLImplTest.java | 25 import java.math.BigInteger; 87 private static BigInteger certSerialNumber1 = BigInteger.valueOf(555); 88 private static BigInteger certSerialNumber2 = BigInteger.valueOf(567); 89 private static BigInteger certSerialNumber3 = BigInteger.valueOf(777); 141 new CRLNumber(BigInteger.valueOf(4444))), 251 byte tmp[] = BigInteger.valueOf(XXX).toByteArray(); 388 * getRevokedCertificate(BigInteger serialNumber) method testing [all...] |
/libcore/luni/src/main/java/javax/security/cert/ |
X509Certificate.java | 23 import java.math.BigInteger; 163 public BigInteger getSerialNumber() { 280 public abstract BigInteger getSerialNumber();
|
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs7/ |
SignerInfo.java | 25 import java.math.BigInteger; 60 private final BigInteger serialNumber; 88 public BigInteger getSerialNumber() {
|
/libcore/luni/src/test/java/tests/security/cert/ |
X509CRLTest.java | 32 import java.math.BigInteger; 140 public X509CRLEntry getRevokedCertificate(BigInteger serialNumber) { 304 crl.getRevokedCertificate(BigInteger.ONE);
|
X509CRL2Test.java | 23 import java.math.BigInteger; 141 public X509CRLEntry getRevokedCertificate(BigInteger serialNumber) {
|
X509CRLEntryTest.java | 29 import java.math.BigInteger; 69 public BigInteger getSerialNumber() {
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/pkcs/ |
PrivateKeyInfo.java | 4 import java.math.BigInteger; 72 BigInteger version = ((DERInteger)e.nextElement()).getValue();
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x509/ |
BasicConstraints.java | 12 import java.math.BigInteger; 141 public BigInteger getPathLenConstraint()
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/tsp/ |
PKIStatusInfo.java | 22 import java.math.BigInteger; 105 values[0] = BigInteger.valueOf(psi.status.getStatus())
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
ExemptionMechanismSpiTest.java | 25 import java.math.BigInteger; 135 emSpi.engineInit(key, new RSAKeyGenParameterSpec(10, new BigInteger ("10")));
|