/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | ExemptionMechanismSpiTest.java | 66 protected void engineInit(Key key) throws InvalidKeyException, ExemptionMechanismException { in engineInit() method in ExemptionMechanismSpiTest.Mock_ExemptionMechanismSpi 67 super.engineInit(key); in engineInit() 72 …protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, Inva… in engineInit() method in ExemptionMechanismSpiTest.Mock_ExemptionMechanismSpi 73 super.engineInit(key, params); in engineInit() 78 …protected void engineInit(Key key, AlgorithmParameters params) throws InvalidKeyException, Invalid… in engineInit() method in ExemptionMechanismSpiTest.Mock_ExemptionMechanismSpi 79 super.engineInit(key, params); in engineInit() 102 emSpi.engineInit(key); in testExemptionMechanismSpi01() 107 emSpi.engineInit(key, params); in testExemptionMechanismSpi01() 112 emSpi.engineInit(key, parSpec); in testExemptionMechanismSpi01() 118 emSpi.engineInit(key); in testExemptionMechanismSpi01() [all …]
|
D | KeyGeneratorSpiTest.java | 48 protected void engineInit(SecureRandom random) { in engineInit() method in KeyGeneratorSpiTest.Mock_KeyGeneratorSpi 49 super.engineInit(random); in engineInit() 53 protected void engineInit(AlgorithmParameterSpec params, SecureRandom random) in engineInit() method in KeyGeneratorSpiTest.Mock_KeyGeneratorSpi 55 super.engineInit(params, random); in engineInit() 59 protected void engineInit(int keysize, SecureRandom random) { in engineInit() method in KeyGeneratorSpiTest.Mock_KeyGeneratorSpi 60 super.engineInit(keysize, random); in engineInit() 73 kgSpi.engineInit(77, new SecureRandom()); in testKeyGeneratorSpi01() 78 kgSpi.engineInit(new SecureRandom()); in testKeyGeneratorSpi01() 84 kgSpi.engineInit(aps, new SecureRandom()); in testKeyGeneratorSpi01() 89 kgSpi.engineInit(aps, new SecureRandom()); in testKeyGeneratorSpi01()
|
D | MacSpiTest.java | 57 …protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, Inva… in engineInit() method in MacSpiTest.Mock_MacSpi 58 super.engineInit(key, params); in engineInit() 91 …protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, Inva… in engineInit() method in MacSpiTest.Mock_MacSpi1 92 super.engineInit(key, params); in engineInit() 130 …protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, Inva… in engineInit() method in MacSpiTest.Mock_MacSpi2 131 super.engineInit(key, params); in engineInit() 169 mSpi.engineInit(null, null); in testMacSpiTests01() 174 mSpi.engineInit(sks, null); in testMacSpiTests01() 192 mSpi1.engineInit(null, null); in testMacSpiTests01() 196 mSpi1.engineInit(sks, null); in testMacSpiTests01() [all …]
|
D | KeyAgreementSpiTest.java | 71 protected void engineInit(Key key, SecureRandom random) throws InvalidKeyException { in engineInit() method in KeyAgreementSpiTest.Mock_KeyAgreementSpi 72 super.engineInit(key, random); in engineInit() 76 protected void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random) in engineInit() method in KeyAgreementSpiTest.Mock_KeyAgreementSpi 78 super.engineInit(key, params, random); in engineInit() 109 kaSpi.engineInit(key, new SecureRandom()); in testKeyAgreementSpi01() 115 kaSpi.engineInit(key, params, new SecureRandom()); in testKeyAgreementSpi01()
|
D | CipherSpiTest.java | 85 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit() method in CipherSpiTest.Mock_CipherSpi 87 super.engineInit(opmode, key, random); in engineInit() 91 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit() method in CipherSpiTest.Mock_CipherSpi 93 super.engineInit(opmode, key, params, random); in engineInit() 97 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit() method in CipherSpiTest.Mock_CipherSpi 99 super.engineInit(opmode, key, params, random); in engineInit() 509 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit() method in myCipherSpi 513 protected void engineInit(int opmode, Key key, in engineInit() method in myCipherSpi 518 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit() method in myCipherSpi
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | MockCipherSpi.java | 104 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit() method in MockCipherSpi.MustInitWithAlgorithmParameterSpec_RejectsAll 110 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit() method in MockCipherSpi.MustInitWithAlgorithmParameterSpec_RejectsAll 116 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit() method in MockCipherSpi.MustInitWithAlgorithmParameterSpec_RejectsAll 124 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit() method in MockCipherSpi.MustInitWithAlgorithmParameters_RejectsAll 130 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit() method in MockCipherSpi.MustInitWithAlgorithmParameters_RejectsAll 136 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit() method in MockCipherSpi.MustInitWithAlgorithmParameters_RejectsAll 144 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit() method in MockCipherSpi.MustInitWithAlgorithmParameters_ThrowsNull 150 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit() method in MockCipherSpi.MustInitWithAlgorithmParameters_ThrowsNull 156 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit() method in MockCipherSpi.MustInitWithAlgorithmParameters_ThrowsNull 164 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit() method in MockCipherSpi.MustInitForEncryptModeOrRejects [all …]
|
/libcore/luni/src/test/java/tests/java/security/ |
D | AlgorithmParameterGeneratorSpiTest.java | 51 algParGen.engineInit(pp, new SecureRandom()); in testAlgorithmParameterGeneratorSpi01() 53 algParGen.engineInit(pp, null); in testAlgorithmParameterGeneratorSpi01() 57 algParGen.engineInit(0, null); in testAlgorithmParameterGeneratorSpi01() 58 algParGen.engineInit(0, new SecureRandom()); in testAlgorithmParameterGeneratorSpi01() 61 algParGen.engineInit(-10, null); in testAlgorithmParameterGeneratorSpi01() 66 algParGen.engineInit(-10, new SecureRandom()); in testAlgorithmParameterGeneratorSpi01()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | AlgorithmParametersSpiTest.java | 43 algParSpi.engineInit(new MyAlgorithmParameterSpec()); in testAlgorithmParametersSpi() 44 algParSpi.engineInit(bt); in testAlgorithmParametersSpi() 45 algParSpi.engineInit(bt, "Format"); in testAlgorithmParametersSpi() 53 protected void engineInit(AlgorithmParameterSpec paramSpec) { in engineInit() method in AlgorithmParametersSpiTest.MyAlgorithmParametersSpi 55 protected void engineInit(byte[] params){ in engineInit() method in AlgorithmParametersSpiTest.MyAlgorithmParametersSpi 57 protected void engineInit(byte[] params, String format){ in engineInit() method in AlgorithmParametersSpiTest.MyAlgorithmParametersSpi
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | KeyManagerFactorySpiTest.java | 54 kmf.engineInit(null, null); in test_engineInit_01() 63 kmf.engineInit(null, psw); in test_engineInit_01() 73 kmf.engineInit(ks, null); in test_engineInit_01() 84 kmf.engineInit(kst, psw); in test_engineInit_01() 97 kmf.engineInit(null); in test_engineInit_02() 108 kmf.engineInit(pr); in test_engineInit_02() 132 kmf.engineInit(pr); in test_engineGetKeyManagers()
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | KeyGeneratorSpi.java | 51 protected abstract void engineInit(SecureRandom random); in engineInit() method in KeyGeneratorSpi 63 protected abstract void engineInit(AlgorithmParameterSpec params, in engineInit() method in KeyGeneratorSpi 78 protected abstract void engineInit(int keysize, SecureRandom random); in engineInit() method in KeyGeneratorSpi
|
D | KeyGenerator.java | 424 spi.engineInit(initKeySize, initRandom); in nextSpi() 426 spi.engineInit(initParams, initRandom); in nextSpi() 428 spi.engineInit(initRandom); in nextSpi() 460 spi.engineInit(random); in init() 467 mySpi.engineInit(random); in init() 519 spi.engineInit(params, random); in init() 526 mySpi.engineInit(params, random); in init() 582 spi.engineInit(keysize, random); in init() 589 mySpi.engineInit(keysize, random); in init()
|
D | ExemptionMechanismSpi.java | 81 protected abstract void engineInit(Key key) in engineInit() method in ExemptionMechanismSpi 105 protected abstract void engineInit(Key key, AlgorithmParameterSpec params) in engineInit() method in ExemptionMechanismSpi 130 protected abstract void engineInit(Key key, AlgorithmParameters params) in engineInit() method in ExemptionMechanismSpi
|
D | NullCipherSpi.java | 69 protected void engineInit(int mode, Key key, SecureRandom random) {} in engineInit() method in NullCipherSpi 71 protected void engineInit(int mode, Key key, in engineInit() method in NullCipherSpi 75 protected void engineInit(int mode, Key key, in engineInit() method in NullCipherSpi
|
D | KeyAgreementSpi.java | 85 protected abstract void engineInit(Key key, SecureRandom random) in engineInit() method in KeyAgreementSpi 104 protected abstract void engineInit(Key key, AlgorithmParameterSpec params, in engineInit() method in KeyAgreementSpi
|
/libcore/ojluni/src/main/java/java/security/ |
D | AlgorithmParametersSpi.java | 63 protected abstract void engineInit(AlgorithmParameterSpec paramSpec) in engineInit() method in AlgorithmParametersSpi 76 protected abstract void engineInit(byte[] params) in engineInit() method in AlgorithmParametersSpi 93 protected abstract void engineInit(byte[] params, String format) in engineInit() method in AlgorithmParametersSpi
|
D | AlgorithmParameterGenerator.java | 308 paramGenSpi.engineInit(size, new SecureRandom()); in init() 319 paramGenSpi.engineInit(size, random); in init() 339 paramGenSpi.engineInit(genParamSpec, new SecureRandom()); in init() 355 paramGenSpi.engineInit(genParamSpec, random); in init()
|
D | AlgorithmParameterGeneratorSpi.java | 64 protected abstract void engineInit(int size, SecureRandom random); in engineInit() method in AlgorithmParameterGeneratorSpi 76 protected abstract void engineInit(AlgorithmParameterSpec genParamSpec, in engineInit() method in AlgorithmParameterGeneratorSpi
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/ |
D | MyKeyGeneratorSpi.java | 46 protected void engineInit(AlgorithmParameterSpec params, SecureRandom random) in engineInit() method in MyKeyGeneratorSpi 54 protected void engineInit(int keysize, SecureRandom random) { in engineInit() method in MyKeyGeneratorSpi 61 protected void engineInit(SecureRandom random) { in engineInit() method in MyKeyGeneratorSpi
|
D | MyExemptionMechanismSpi.java | 66 protected void engineInit(Key key) throws InvalidKeyException, in engineInit() method in MyExemptionMechanismSpi 77 protected void engineInit(Key key, AlgorithmParameters params) in engineInit() method in MyExemptionMechanismSpi 92 protected void engineInit(Key key, AlgorithmParameterSpec params) in engineInit() method in MyExemptionMechanismSpi
|
D | MyCipher.java | 83 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit() method in MyCipher 88 protected void engineInit(int opmode, Key key, in engineInit() method in MyCipher 94 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit() method in MyCipher
|
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
D | MyTrustManagerFactorySpi.java | 35 protected void engineInit(KeyStore ks) throws KeyStoreException { in engineInit() method in MyTrustManagerFactorySpi 41 protected void engineInit(ManagerFactoryParameters spec) in engineInit() method in MyTrustManagerFactorySpi 48 engineInit(((Parameters)spec).getKeyStore()); in engineInit()
|
D | MyKeyManagerFactorySpi.java | 38 protected void engineInit(KeyStore ks, char[] password) in engineInit() method in MyKeyManagerFactorySpi 49 protected void engineInit(ManagerFactoryParameters spec) in engineInit() method in MyKeyManagerFactorySpi 56 engineInit(((Parameters)spec).getKeyStore(), in engineInit()
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | TrustManagerFactorySpi.java | 51 protected abstract void engineInit(KeyStore ks) throws KeyStoreException; in engineInit() method in TrustManagerFactorySpi 71 protected abstract void engineInit(ManagerFactoryParameters spec) in engineInit() method in TrustManagerFactorySpi
|
D | KeyManagerFactorySpi.java | 54 protected abstract void engineInit(KeyStore ks, char[] password) throws in engineInit() method in KeyManagerFactorySpi 74 protected abstract void engineInit(ManagerFactoryParameters spec) in engineInit() method in KeyManagerFactorySpi
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | MyAlgorithmParameterGeneratorSpi.java | 39 public void engineInit(int keysize, SecureRandom random) { in engineInit() method in MyAlgorithmParameterGeneratorSpi 45 public void engineInit(AlgorithmParameterSpec genParamSpec, in engineInit() method in MyAlgorithmParameterGeneratorSpi
|