Home
last modified time | relevance | path

Searched refs:engineInit (Results 1 – 25 of 50) sorted by relevance

12

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DKeyGeneratorSpiTest.java48 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()
DExemptionMechanismSpiTest.java66 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 …]
DMacSpiTest.java57 …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 …]
DKeyAgreementSpiTest.java71 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()
DCipherSpiTest.java83 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit() method in CipherSpiTest.Mock_CipherSpi
85 super.engineInit(opmode, key, random); in engineInit()
89 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params, in engineInit() method in CipherSpiTest.Mock_CipherSpi
91 super.engineInit(opmode, key, params, random); in engineInit()
95 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit() method in CipherSpiTest.Mock_CipherSpi
97 super.engineInit(opmode, key, params, random); in engineInit()
340 protected void engineInit(int opmode, Key key, SecureRandom random) in engineInit() method in myCipherSpi
344 protected void engineInit(int opmode, Key key, in engineInit() method in myCipherSpi
349 protected void engineInit(int opmode, Key key, AlgorithmParameters params, in engineInit() method in myCipherSpi
/libcore/luni/src/test/java/tests/java/security/
DAlgorithmParameterGeneratorSpiTest.java51 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/
DAlgorithmParametersSpiTest.java43 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/
DKeyManagerFactorySpiTest.java54 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/luni/src/main/java/javax/crypto/
DKeyGeneratorSpi.java57 protected abstract void engineInit(AlgorithmParameterSpec params, in engineInit() method in KeyGeneratorSpi
69 protected abstract void engineInit(int keysize, SecureRandom random); in engineInit() method in KeyGeneratorSpi
78 protected abstract void engineInit(SecureRandom random); in engineInit() method in KeyGeneratorSpi
DExemptionMechanismSpi.java88 protected abstract void engineInit(Key key) throws InvalidKeyException, in engineInit() method in ExemptionMechanismSpi
107 protected abstract void engineInit(Key key, AlgorithmParameters params) in engineInit() method in ExemptionMechanismSpi
127 protected abstract void engineInit(Key key, AlgorithmParameterSpec params) in engineInit() method in ExemptionMechanismSpi
DKeyGenerator.java189 spiImpl.engineInit(params, RANDOM);//new SecureRandom()); in init()
206 spiImpl.engineInit(params, random); in init()
217 spiImpl.engineInit(keysize, RANDOM);//new SecureRandom()); in init()
230 spiImpl.engineInit(keysize, random); in init()
241 spiImpl.engineInit(random); in init()
DKeyAgreementSpi.java118 protected abstract void engineInit(Key key, SecureRandom random) in engineInit() method in KeyAgreementSpi
138 protected abstract void engineInit(Key key, AlgorithmParameterSpec params, in engineInit() method in KeyAgreementSpi
/libcore/luni/src/main/java/java/security/
DAlgorithmParametersSpi.java43 protected abstract void engineInit(AlgorithmParameterSpec paramSpec) in engineInit() method in AlgorithmParametersSpi
57 protected abstract void engineInit(byte[] params) throws IOException; in engineInit() method in AlgorithmParametersSpi
71 protected abstract void engineInit(byte[] params, String format) in engineInit() method in AlgorithmParametersSpi
DAlgorithmParameterGeneratorSpi.java46 protected abstract void engineInit(int size, SecureRandom random); in engineInit() method in AlgorithmParameterGeneratorSpi
59 protected abstract void engineInit(AlgorithmParameterSpec genParamSpec, in engineInit() method in AlgorithmParameterGeneratorSpi
DAlgorithmParameterGenerator.java180 spiImpl.engineInit(size, RANDOM); in init()
194 spiImpl.engineInit(size, random); in init()
209 spiImpl.engineInit(genParamSpec, RANDOM); in init()
225 spiImpl.engineInit(genParamSpec, random); in init()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
DMyKeyGeneratorSpi.java46 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
DMyExemptionMechanismSpi.java66 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
DMyCipher.java83 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/security/tests/support/
DMyTrustManagerFactorySpi.java35 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()
DMyAlgorithmParameterGeneratorSpi.java39 public void engineInit(int keysize, SecureRandom random) { in engineInit() method in MyAlgorithmParameterGeneratorSpi
45 public void engineInit(AlgorithmParameterSpec genParamSpec, in engineInit() method in MyAlgorithmParameterGeneratorSpi
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
DMyTrustManagerFactorySpi.java35 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()
DMyKeyManagerFactorySpi.java38 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()
DKeyManagerFactorySpiImpl.java16 public void engineInit(KeyStore ks, char[] password) in engineInit() method in KeyManagerFactorySpiImpl
35 public void engineInit(ManagerFactoryParameters spec) in engineInit() method in KeyManagerFactorySpiImpl
/libcore/luni/src/main/java/javax/net/ssl/
DTrustManagerFactorySpi.java45 protected abstract void engineInit(KeyStore ks) throws KeyStoreException; in engineInit() method in TrustManagerFactorySpi
56 protected abstract void engineInit(ManagerFactoryParameters spec) in engineInit() method in TrustManagerFactorySpi
DKeyManagerFactorySpi.java52 protected abstract void engineInit(KeyStore ks, char[] password) throws KeyStoreException, in engineInit() method in KeyManagerFactorySpi
63 protected abstract void engineInit(ManagerFactoryParameters spec) in engineInit() method in KeyManagerFactorySpi

12