/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 | 377 public void initialize(int keysize) { in initialize() method in KeyPairGenerator 378 initialize(keysize, JCAUtil.getSecureRandom()); in initialize() 395 public void initialize(int keysize, SecureRandom random) { in initialize() method in KeyPairGenerator 436 public void initialize(AlgorithmParameterSpec params) in initialize() method in KeyPairGenerator 438 initialize(params, JCAUtil.getSecureRandom()); in initialize() 464 public void initialize(AlgorithmParameterSpec params, in initialize() method in KeyPairGenerator 640 spi.initialize(initKeySize, initRandom); in nextSpi() 642 spi.initialize(initParams, initRandom); in nextSpi() 668 public void initialize(int keysize, SecureRandom random) { in initialize() method in KeyPairGenerator.Delegate 670 spi.initialize(keysize, random); in initialize() [all …]
|
D | KeyPairGeneratorSpi.java | 67 public abstract void initialize(int keysize, SecureRandom random); in initialize() method in KeyPairGeneratorSpi 91 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()
|
D | DSAKeyTest.java | 39 gen.initialize((DSAParameterSpec) param); in test_getParams()
|
D | DSAPublicKeyTest.java | 45 keyGen.initialize(new DSAParameterSpec(Util.P, Util.Q, Util.G), new SecureRandom()); in test_getY()
|
/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 | 86 public void initialize(DSAParams params, SecureRandom random) in initialize() method 115 public void initialize(int modlen, boolean genParams, SecureRandom random) in initialize() method
|
/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/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/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/ojluni/src/main/java/java/security/cert/ |
D | CertPathHelperImpl.java | 52 synchronized static 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()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
D | CipherRSAThread.java | 37 kpg.initialize(getKeyLength()); in crypt()
|