Home
last modified time | relevance | path

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

123

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
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 …]
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()
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()
/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/luni/src/test/java/libcore/javax/crypto/
DMockCipherSpi.java104 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/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/ojluni/src/main/java/javax/crypto/
DKeyGeneratorSpi.java51 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
DExemptionMechanismSpi.java81 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
DKeyGenerator.java416 spi.engineInit(initKeySize, initRandom); in nextSpi()
418 spi.engineInit(initParams, initRandom); in nextSpi()
420 spi.engineInit(initRandom); in nextSpi()
452 spi.engineInit(random); in init()
459 mySpi.engineInit(random); in init()
511 spi.engineInit(params, random); in init()
518 mySpi.engineInit(params, random); in init()
574 spi.engineInit(keysize, random); in init()
581 mySpi.engineInit(keysize, random); in init()
DNullCipherSpi.java69 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
DKeyAgreementSpi.java85 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/
DAlgorithmParametersSpi.java63 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
DAlgorithmParameterGenerator.java308 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()
DAlgorithmParameterGeneratorSpi.java64 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/
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()
/libcore/ojluni/src/main/java/javax/net/ssl/
DTrustManagerFactorySpi.java51 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
DKeyManagerFactorySpi.java54 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

123