/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyPairGenerator2Test.java | 94 keyPairGen.initialize(pp, new SecureRandom()); in checkResult() 98 keyPairGen.initialize(1000, new SecureRandom()); in checkResult() 100 keyPairGen.initialize(-1024, new SecureRandom()); in checkResult() 107 keyPairGen.initialize(100, null); in checkResult() 118 keyPairGen.initialize(pp, new SecureRandom()); in checkResult() 122 keyPairGen.initialize(1000, new SecureRandom()); in checkResult() 124 keyPairGen.initialize(63, new SecureRandom()); in checkResult() 128 keyPairGen.initialize(100, null); in checkResult() 133 keyPairGen.initialize(pp, new SecureRandom()); in checkResult() 134 keyPairGen.initialize(pp); in checkResult() [all …]
|
D | KeyPairGenerator4Test.java | 35 gen.initialize(1024); in test_genKeyPair() 91 keyPair.initialize(1024); in test_initializeI() 100 keyPair.initialize(1024, new SecureRandom()); in test_initializeILjava_security_SecureRandom() 111 keyPairGenerator.initialize(1024); in test_initializeLjava_security_spec_AlgorithmParameterSpec() 117 keyPair.initialize(new DSAParameterSpec(params.getP(), params.getQ(), in test_initializeLjava_security_spec_AlgorithmParameterSpec() 129 keyPairGenerator.initialize(1024); in test_initializeLjava_security_spec_AlgorithmParameterSpecLjava_security_SecureRandom() 135 keyPair.initialize(new DSAParameterSpec(params.getP(), params.getQ(), in test_initializeLjava_security_spec_AlgorithmParameterSpecLjava_security_SecureRandom()
|
D | KeyPairGeneratorSpiTest.java | 53 keyPairGen.initialize(pp, null); in testKeyPairGeneratorSpi01() 58 keyPairGen.initialize(pp, new SecureRandom()); in testKeyPairGeneratorSpi01() 59 keyPairGen.initialize(1024, new SecureRandom()); in testKeyPairGeneratorSpi01() 61 keyPairGen.initialize(-1024, new SecureRandom()); in testKeyPairGeneratorSpi01() 66 keyPairGen.initialize(1024, null); in testKeyPairGeneratorSpi01()
|
D | KeyPairGenerator1Test.java | 322 kpg[i].initialize(512); in testKeyPairGenerator10() 359 kpg[i].initialize(keys[j]); in testKeyPairGenerator11() 360 kpg[i].initialize(keys[j], random); in testKeyPairGenerator11() 366 kpg[i].initialize(aps); in testKeyPairGenerator11() 367 kpg[i].initialize(aps, random); in testKeyPairGenerator11() 398 mKPG.initialize(keys[i]); in testKeyPairGenerator12() 404 mKPG.initialize(keys[i], random); in testKeyPairGenerator12() 411 mKPG.initialize(100, null); in testKeyPairGenerator12() 416 mKPG.initialize(100, random); in testKeyPairGenerator12() 422 mKPG.initialize(null, random); in testKeyPairGenerator12() [all …]
|
D | KeyFactory2Test.java | 115 keyGen.initialize(StandardNames.getMinimumKeySize(keyfactAlgs[i]), random); in test_generatePrivateLjava_security_spec_KeySpec() 145 keyGen.initialize(StandardNames.getMinimumKeySize(keyfactAlgs[i]), random); in test_generatePublicLjava_security_spec_KeySpec() 237 keyGen.initialize(StandardNames.getMinimumKeySize(keyfactAlgs[i]), random); in test_getKeySpecLjava_security_KeyLjava_lang_Class() 294 keyGen.initialize(StandardNames.getMinimumKeySize(keyfactAlgs[i]), random); in test_translateKeyLjava_security_Key()
|
/libcore/ojluni/src/main/java/java/security/ |
D | KeyPairGenerator.java | 400 public void initialize(int keysize) { in initialize() method in KeyPairGenerator 401 initialize(keysize, JCAUtil.getSecureRandom()); in initialize() 418 public void initialize(int keysize, SecureRandom random) { in initialize() method in KeyPairGenerator 459 public void initialize(AlgorithmParameterSpec params) in initialize() method in KeyPairGenerator 461 initialize(params, JCAUtil.getSecureRandom()); in initialize() 487 public void initialize(AlgorithmParameterSpec params, in initialize() method in KeyPairGenerator 663 spi.initialize(initKeySize, initRandom); in nextSpi() 665 spi.initialize(initParams, initRandom); in nextSpi() 691 public void initialize(int keysize, SecureRandom random) { in initialize() method in KeyPairGenerator.Delegate 693 spi.initialize(keysize, random); in initialize() [all …]
|
D | KeyPairGeneratorSpi.java | 68 public abstract void initialize(int keysize, SecureRandom random); in initialize() method in KeyPairGeneratorSpi 92 public void initialize(AlgorithmParameterSpec params, in initialize() method in KeyPairGeneratorSpi
|
/libcore/luni/src/test/java/tests/security/interfaces/ |
D | DSAKeyPairGeneratorTest.java | 58 dsa.initialize(dsaParams, random); in test_DSAKeyPairGenerator01() 64 dsa.initialize(dsaParams, null); in test_DSAKeyPairGenerator01() 72 dsa.initialize(null, random); in test_DSAKeyPairGenerator01() 98 dsa.initialize(520, false, random); in test_DSAKeyPairGenerator02() 112 dsa.initialize(invalidLen[i], true, random); in test_DSAKeyPairGenerator02() 127 dsa.initialize(520, true, random); in test_DSAKeyPairGenerator02() 134 dsa.initialize(520, false, random); in test_DSAKeyPairGenerator02()
|
D | DSAPrivateKeyTest.java | 35 keyGen.initialize(new DSAParameterSpec(Util.P, Util.Q, Util.G), new SecureRandom()); in test_getX()
|
/libcore/ojluni/annotations/hiddenapi/java/security/ |
D | KeyPairGenerator.java | 72 public void initialize(int keysize) { in initialize() method in KeyPairGenerator 76 public void initialize(int keysize, java.security.SecureRandom random) { in initialize() method in KeyPairGenerator 80 public void initialize(java.security.spec.AlgorithmParameterSpec params) in initialize() method in KeyPairGenerator 85 public void initialize( in initialize() method in KeyPairGenerator 132 public void initialize(int keysize, java.security.SecureRandom random) { in initialize() method in KeyPairGenerator.Delegate 136 public void initialize( in initialize() method in KeyPairGenerator.Delegate
|
/libcore/ojluni/src/main/java/java/security/interfaces/ |
D | DSAKeyPairGenerator.java | 91 public void initialize(DSAParams params, SecureRandom random) in initialize() method 119 public void initialize(int modlen, boolean genParams, SecureRandom random) in initialize() method
|
/libcore/ojluni/src/test/java/security/KeyAgreement/ |
D | MultiThreadTest.java | 94 kpg.initialize(512); in genKeyGenerator() 97 kpg.initialize(256); in genKeyGenerator() 100 kpg.initialize(255); in genKeyGenerator() 103 kpg.initialize(448); in genKeyGenerator()
|
D | NegativeTest.java | 132 kpg.initialize(512); in genKeyPair() 135 kpg.initialize(256); in genKeyPair() 138 kpg.initialize(255); in genKeyPair() 141 kpg.initialize(448); in genKeyPair() 259 kpg.initialize(spec); in testNamedParameter() 345 kpg.initialize(keySize); in startKeyAgreement()
|
D | KeySpecTest.java | 107 kpg.initialize(512); in genKeyPair() 110 kpg.initialize(256); in genKeyPair() 113 kpg.initialize(255); in genKeyPair() 116 kpg.initialize(448); in genKeyPair()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | MyKeyPairGeneratorSpi.java | 39 public void initialize(int keysize, SecureRandom random) { in initialize() method in MyKeyPairGeneratorSpi 53 public void initialize(AlgorithmParameterSpec params, SecureRandom random) in initialize() method in MyKeyPairGeneratorSpi
|
D | MyKeyPairGenerator1.java | 62 public void initialize(int keysize, SecureRandom random) { in initialize() method in MyKeyPairGenerator1 82 public void initialize(AlgorithmParameterSpec param, SecureRandom random) in initialize() method in MyKeyPairGenerator1
|
D | MyKeyPairGenerator2.java | 56 public void initialize(int keysize, SecureRandom random) { in initialize() method in MyKeyPairGenerator2
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | RandomPrivateKeyX509ExtendedKeyManager.java | 64 keyPairGenerator.initialize(keyLengthBits); in getPrivateKey() 72 keyPairGenerator.initialize(new DSAParameterSpec( in getPrivateKey() 77 keyPairGenerator.initialize(((ECPrivateKey) originalPrivateKey).getParams()); in getPrivateKey()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/interfaces/ |
D | DSAKeyPairGeneratorImpl.java | 46 public void initialize(DSAParams params, SecureRandom random) in initialize() method in DSAKeyPairGeneratorImpl 59 public void initialize(int modlen, boolean genParams, SecureRandom random) in initialize() method in DSAKeyPairGeneratorImpl
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | UnixSelectorTest.java | 38 public void initialize() throws Exception { in initialize() method in UnixSelectorTest.Server 71 server.initialize(); in testSelectorAcceptAndRead()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | OldKeyPairGeneratorTestDH.java | 28 generator.initialize(1024); in testKeyPairGenerator()
|
D | OldDHTest.java | 45 gen.initialize(dhparameterspec); in testDHGen()
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | CertPathHelperImpl.java | 52 static synchronized void initialize() { in initialize() method in CertPathHelperImpl
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
D | TestUtils.java | 152 public static KeyStore getKeyStore(boolean initialize, in getKeyStore() argument 157 if (initialize) { in getKeyStore() 166 if (initialize && bis != null) { in getKeyStore()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | KeyPairGeneratorBenchmark.java | 54 this.generator.initialize(1024); in setUp()
|