Home
last modified time | relevance | path

Searched refs:invalidValues (Results 1 – 25 of 33) sorted by relevance

12

/external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/
DSecretKeyFactory_ImplTest.java49 private static final String[] invalidValues = SpiEngUtils.invalidValues; field in SecretKeyFactory_ImplTest
106 for (int i = 0; i < invalidValues.length; i++) { in testGetInstance01()
108 SecretKeyFactory.getInstance(invalidValues[i]); in testGetInstance01()
110 .concat(invalidValues[i]).concat(")")); in testGetInstance01()
143 for (int i = 0; i < invalidValues.length; i++) { in testGetInstance02()
145 SecretKeyFactory.getInstance(invalidValues[i], mProv in testGetInstance02()
148 .concat(invalidValues[i]).concat(")")); in testGetInstance02()
157 .concat(invalidValues[i]).concat(")")); in testGetInstance02()
163 .concat(invalidValues[i]).concat(")")); in testGetInstance02()
166 for (int j = 1; j < invalidValues.length; j++) { in testGetInstance02()
[all …]
DKeyGenerator_ImplTest.java52 private static final String[] invalidValues = SpiEngUtils.invalidValues; field in KeyGenerator_ImplTest
139 for (int i = 0; i < invalidValues.length; i++) { in testGetInstance01()
141 KeyGenerator.getInstance(invalidValues[i]); in testGetInstance01()
143 .concat(invalidValues[i]).concat(")")); in testGetInstance01()
176 for (int i = 0; i < invalidValues.length; i++) { in testGetInstance02()
178 KeyGenerator.getInstance(invalidValues[i], mProv in testGetInstance02()
181 .concat(invalidValues[i]).concat(")")); in testGetInstance02()
190 .concat(invalidValues[i]).concat(")")); in testGetInstance02()
196 .concat(invalidValues[i]).concat(")")); in testGetInstance02()
199 for (int j = 1; j < invalidValues.length; j++) { in testGetInstance02()
[all …]
DKeyAgreement_ImplTest.java54 private static final String[] invalidValues = SpiEngUtils.invalidValues; field in KeyAgreement_ImplTest
135 for (int i = 0; i < invalidValues.length; i++) { in testGetInstance01()
137 KeyAgreement.getInstance(invalidValues[i]); in testGetInstance01()
139 .concat(invalidValues[i]).concat(")")); in testGetInstance01()
173 for (int i = 0; i < invalidValues.length; i++) { in testGetInstance02()
175 KeyAgreement.getInstance(invalidValues[i], mProv in testGetInstance02()
178 .concat(invalidValues[i]).concat(")")); in testGetInstance02()
187 .concat(invalidValues[i]).concat(")")); in testGetInstance02()
193 .concat(invalidValues[i]).concat(")")); in testGetInstance02()
196 for (int j = 1; j < invalidValues.length; j++) { in testGetInstance02()
[all …]
DMac_ImplTest.java52 private static final String[] invalidValues = SpiEngUtils.invalidValues; field in Mac_ImplTest
138 for (int i = 0; i < invalidValues.length; i++) { in testGetInstance01()
140 Mac.getInstance(invalidValues[i]); in testGetInstance01()
142 .concat(invalidValues[i]).concat(")")); in testGetInstance01()
176 for (int i = 0; i < invalidValues.length; i++) { in testGetInstance02()
178 Mac.getInstance(invalidValues[i], mProv in testGetInstance02()
181 .concat(invalidValues[i]).concat(")")); in testGetInstance02()
190 .concat(invalidValues[i]).concat(")")); in testGetInstance02()
195 for (int j = 1; j < invalidValues.length; j++) { in testGetInstance02()
198 invalidValues[j]); in testGetInstance02()
[all …]
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
DKeyManagerFactory2Test.java47 private static final String[] invalidValues = SpiEngUtils.invalidValues; field in KeyManagerFactory2Test
137 for (int i = 0; i < invalidValues.length; i++) { in testGetInstance01()
139 KeyManagerFactory.getInstance(invalidValues[i]); in testGetInstance01()
141 .concat(invalidValues[i]).concat(")")); in testGetInstance01()
174 for (int i = 0; i < invalidValues.length; i++) { in testGetInstance02()
177 .getInstance(invalidValues[i], mProv.getName()); in testGetInstance02()
179 .concat(invalidValues[i]).concat(")")); in testGetInstance02()
188 .concat(invalidValues[i]).concat(")")); in testGetInstance02()
194 .concat(invalidValues[i]).concat(")")); in testGetInstance02()
199 for (int j = 1; j < invalidValues.length; j++) { in testGetInstance02()
[all …]
DTrustManagerFactory2Test.java44 private static final String[] invalidValues = SpiEngUtils.invalidValues; field in TrustManagerFactory2Test
126 for (int i = 0; i < invalidValues.length; i++) { in testGetInstance01()
128 TrustManagerFactory.getInstance(invalidValues[i]); in testGetInstance01()
130 .concat(invalidValues[i]).concat(")")); in testGetInstance01()
163 for (int i = 0; i < invalidValues.length; i++) { in testGetInstance02()
165 TrustManagerFactory.getInstance(invalidValues[i], mProv in testGetInstance02()
168 .concat(invalidValues[i]).concat(")")); in testGetInstance02()
177 .concat(invalidValues[i]).concat(")")); in testGetInstance02()
183 .concat(invalidValues[i]).concat(")")); in testGetInstance02()
188 for (int j = 1; j < invalidValues.length; j++) { in testGetInstance02()
[all …]
DSSLContext2Test.java48 private static final String[] invalidValues = SpiEngUtils.invalidValues; field in SSLContext2Test
163 for (int i = 0; i < invalidValues.length; i++) { in testGetInstance01()
165 SSLContext.getInstance(invalidValues[i]); in testGetInstance01()
167 .concat(invalidValues[i]).concat(")")); in testGetInstance01()
202 for (int i = 0; i < invalidValues.length; i++) { in testGetInstance02()
204 SSLContext.getInstance(invalidValues[i], mProv.getName()); in testGetInstance02()
206 .concat(invalidValues[i]).concat(")")); in testGetInstance02()
215 .concat(invalidValues[i]).concat(")")); in testGetInstance02()
221 .concat(invalidValues[i]).concat(")")); in testGetInstance02()
226 for (int j = 1; j < invalidValues.length; j++) { in testGetInstance02()
[all …]
DTrustManagerFactory1Test.java55 private static final String[] invalidValues = SpiEngUtils.invalidValues; field in TrustManagerFactory1Test
153 for (int i = 0; i < invalidValues.length; i++) { in testTrustManagerFactory02()
155 TrustManagerFactory.getInstance(invalidValues[i]); in testTrustManagerFactory02()
157 .concat(invalidValues[i])); in testTrustManagerFactory02()
208 for (int i = 0; i < invalidValues.length; i++) { in testTrustManagerFactory04()
210 TrustManagerFactory.getInstance(invalidValues[i], in testTrustManagerFactory04()
213 .concat(invalidValues[i]).concat(")")); in testTrustManagerFactory04()
230 for (int i = 1; i < invalidValues.length; i++) { in testTrustManagerFactory05()
234 invalidValues[i]); in testTrustManagerFactory05()
237 .concat(invalidValues[i]).concat(")")); in testTrustManagerFactory05()
[all …]
DKeyManagerFactory1Test.java56 private static final String[] invalidValues = SpiEngUtils.invalidValues; field in KeyManagerFactory1Test
155 for (int i = 0; i < invalidValues.length; i++) { in testKeyManagerFactory02()
157 KeyManagerFactory.getInstance(invalidValues[i]); in testKeyManagerFactory02()
159 .concat(invalidValues[i])); in testKeyManagerFactory02()
209 for (int i = 0; i < invalidValues.length; i++) { in testKeyManagerFactory04()
211 KeyManagerFactory.getInstance(invalidValues[i], in testKeyManagerFactory04()
214 .concat(invalidValues[i]).concat(")")); in testKeyManagerFactory04()
232 for (int j = 1; j < invalidValues.length; j++) { in testKeyManagerFactory05()
235 invalidValues[j]); in testKeyManagerFactory05()
237 + validValues[i] + " provider: " + invalidValues[j] in testKeyManagerFactory05()
[all …]
DSSLContext1Test.java65 private static final String[] invalidValues = SpiEngUtils.invalidValues; field in SSLContext1Test
144 for (int i = 0; i < invalidValues.length; i++) { in testSSLContext02()
146 SSLContext.getInstance(invalidValues[i]); in testSSLContext02()
148 .concat(invalidValues[i])); in testSSLContext02()
196 for (int i = 0; i < invalidValues.length; i++) { in testSSLContext04()
198 SSLContext.getInstance(invalidValues[i], defaultProviderName); in testSSLContext04()
200 .concat(invalidValues[i]).concat(")")); in testSSLContext04()
216 for (int i = 1; i < invalidValues.length; i++) { in testSSLContext05()
219 SSLContext.getInstance(validValues[j], invalidValues[i]); in testSSLContext05()
222 .concat(invalidValues[i]).concat(")")); in testSSLContext05()
[all …]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DAlgorithmParameterGenerator2Test.java47 private static final String[] invalidValues = SpiEngUtils.invalidValues; field in AlgorithmParameterGenerator2Test
128 for (int i = 0; i < invalidValues.length; i++) { in testGetInstance01()
130 AlgorithmParameterGenerator.getInstance(invalidValues[i]); in testGetInstance01()
132 .concat(invalidValues[i]).concat(")")); in testGetInstance01()
165 for (int i = 0; i < invalidValues.length; i++) { in testGetInstance02()
167 AlgorithmParameterGenerator.getInstance(invalidValues[i], mProv in testGetInstance02()
170 .concat(invalidValues[i]).concat(")")); in testGetInstance02()
179 .concat(invalidValues[i]).concat(")")); in testGetInstance02()
184 for (int j = 1; j < invalidValues.length; j++) { in testGetInstance02()
187 invalidValues[j]); in testGetInstance02()
[all …]
DAlgorithmParameterGenerator1Test.java48 private static String[] invalidValues = SpiEngUtils.invalidValues; field in AlgorithmParameterGenerator1Test
103 for (int i = 0; i < invalidValues.length; i++) { in testAlgorithmParameterGenerator01()
105 AlgorithmParameterGenerator.getInstance(invalidValues[i]); in testAlgorithmParameterGenerator01()
170 for (int j = 1; j < invalidValues.length; j++) { in testAlgorithmParameterGenerator04()
173 invalidValues[j]); in testAlgorithmParameterGenerator04()
175 .concat(invalidValues[j])); in testAlgorithmParameterGenerator04()
201 for (int i = 0; i < invalidValues.length; i++) { in testAlgorithmParameterGenerator05()
203 AlgorithmParameterGenerator.getInstance(invalidValues[i], in testAlgorithmParameterGenerator05()
206 .concat(invalidValues[i].concat(")"))); in testAlgorithmParameterGenerator05()
272 for (int i = 0; i < invalidValues.length; i++) { in testAlgorithmParameterGenerator08()
[all …]
DKeyPairGenerator2Test.java48 private static final String[] invalidValues = SpiEngUtils.invalidValues; field in KeyPairGenerator2Test
188 for (int i = 0; i < invalidValues.length; i++) { in GetInstance01()
190 KeyPairGenerator.getInstance(invalidValues[i]); in GetInstance01()
192 .concat(invalidValues[i]).concat(")")); in GetInstance01()
227 for (int i = 0; i < invalidValues.length; i++) { in GetInstance02()
229 KeyPairGenerator.getInstance(invalidValues[i], mProv.getName()); in GetInstance02()
231 .concat(invalidValues[i]).concat(")")); in GetInstance02()
247 for (int j = 1; j < invalidValues.length; j++) { in GetInstance02()
249 KeyPairGenerator.getInstance(alg, invalidValues[j]); in GetInstance02()
252 invalidValues[j]).concat(")")); in GetInstance02()
[all …]
DKeyPairGenerator1Test.java49 private static String[] invalidValues = SpiEngUtils.invalidValues; field in KeyPairGenerator1Test
107 for (int i = 0; i < invalidValues.length; i++) { in testKeyPairGenerator01()
109 KeyPairGenerator.getInstance(invalidValues[i]); in testKeyPairGenerator01()
111 .concat(invalidValues[i])); in testKeyPairGenerator01()
174 for (int j = 1; j < invalidValues.length; j++) { in testKeyPairGenerator04()
176 KeyPairGenerator.getInstance(algs[i], invalidValues[j]); in testKeyPairGenerator04()
179 invalidValues[j]).concat(")")); in testKeyPairGenerator04()
204 for (int i = 0; i < invalidValues.length; i++) { in testKeyPairGenerator05()
206 KeyPairGenerator.getInstance(invalidValues[i], in testKeyPairGenerator05()
275 for (int i = 0; i < invalidValues.length; i++) { in testKeyPairGenerator08()
[all …]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
DCertPathValidator2Test.java47 private static final String[] invalidValues = SpiEngUtils.invalidValues; field in CertPathValidator2Test
92 for (int i = 0; i < invalidValues.length; i++) { in checkResult()
93 Security.setProperty(propName, invalidValues[i]); in checkResult()
95 invalidValues[i]); in checkResult()
126 for (int i = 0; i < invalidValues.length; i++) { in testGetInstance01()
128 CertPathValidator.getInstance(invalidValues[i]); in testGetInstance01()
130 invalidValues[i]).concat(")")); in testGetInstance01()
161 for (int i = 0; i < invalidValues.length; i++) { in testGetInstance02()
163 CertPathValidator.getInstance(invalidValues[i], mProv in testGetInstance02()
166 invalidValues[i]).concat(")")); in testGetInstance02()
[all …]
DCertPathBuilder2Test.java46 private static final String[] invalidValues = SpiEngUtils.invalidValues; field in CertPathBuilder2Test
92 for (int i = 0; i < invalidValues.length; i++) { in checkResult()
93 Security.setProperty(propName, invalidValues[i]); in checkResult()
95 if (!dtN.equals(invalidValues[i]) && !dtN.equals(dt)) { in checkResult()
127 for (int i = 0; i < invalidValues.length; i++) { in testGetInstance01()
129 CertPathBuilder.getInstance(invalidValues[i]); in testGetInstance01()
131 invalidValues[i]).concat(")")); in testGetInstance01()
162 for (int i = 0; i < invalidValues.length; i++) { in testGetInstance02()
164 CertPathBuilder.getInstance(invalidValues[i], mProv in testGetInstance02()
167 invalidValues[i]).concat(")")); in testGetInstance02()
[all …]
DCertificateFactory2Test.java53 private static final String[] invalidValues = SpiEngUtils.invalidValues; field in CertificateFactory2Test
197 for (int i = 0; i < invalidValues.length; i++) { in GetInstance01()
199 CertificateFactory.getInstance(invalidValues[i]); in GetInstance01()
201 invalidValues[i]).concat(")")); in GetInstance01()
231 for (int i = 0; i < invalidValues.length; i++) { in GetInstance02()
233 CertificateFactory.getInstance(invalidValues[i], mProv in GetInstance02()
236 invalidValues[i]).concat(")")); in GetInstance02()
256 for (int j = 1; j < invalidValues.length; j++) { in GetInstance02()
259 invalidValues[j]); in GetInstance02()
262 .concat(invalidValues[j]).concat(")")); in GetInstance02()
[all …]
DCertPathBuilder1Test.java63 private static String[] invalidValues = SpiEngUtils.invalidValues; field in CertPathBuilder1Test
141 for (int i = 0; i < invalidValues.length; i++) { in testCertPathBuilder02()
143 CertPathBuilder.getInstance(invalidValues[i]); in testCertPathBuilder02()
204 for (int j = 1; j < invalidValues.length; j++) { in testCertPathBuilder05()
206 CertPathBuilder.getInstance(validValues[i], invalidValues[j]); in testCertPathBuilder05()
231 for (int i = 0; i < invalidValues.length; i++) { in testCertPathBuilder06()
233 CertPathBuilder.getInstance(invalidValues[i], defaultProviderName); in testCertPathBuilder06()
295 for (int i = 0; i < invalidValues.length; i++) { in testCertPathBuilder09()
297 CertPathBuilder.getInstance(invalidValues[i], defaultProvider); in testCertPathBuilder09()
315 for (int i = 0; i < invalidValues.length; i++) { in testCertPathBuilder10()
DCertPathValidator1Test.java63 private static String[] invalidValues = SpiEngUtils.invalidValues; field in CertPathValidator1Test
143 for (int i = 0; i < invalidValues.length; i++) { in testCertPathValidator02()
145 CertPathValidator.getInstance(invalidValues[i]); in testCertPathValidator02()
206 for (int i = 1; i < invalidValues.length; i++) { in testCertPathValidator05()
209 invalidValues[i]); in testCertPathValidator05()
235 for (int i = 0; i < invalidValues.length; i++) { in testCertPathValidator06()
237 CertPathValidator.getInstance(invalidValues[i], defaultProviderName); in testCertPathValidator06()
303 for (int i = 0; i < invalidValues.length; i++) { in testCertPathValidator09()
305 CertPathValidator.getInstance(invalidValues[i], defaultProvider); in testCertPathValidator09()
323 for (int i = 0; i < invalidValues.length; i++) { in testCertPathValidator10()
DCertStore1Test.java66 private static String[] invalidValues = SpiEngUtils.invalidValues; field in CertStore1Test
209 for (int i = 0; i < invalidValues.length; i++) { in testCertStore03()
211 CertStore.getInstance(invalidValues[i], dParams); in testCertStore03()
274 for (int j = 1; j < invalidValues.length; j++) { in testCertStore07()
276 CertStore.getInstance(dValid[i], dParams, invalidValues[j]); in testCertStore07()
297 for (int i = 0; i < invalidValues.length; i++) { in testCertStore08()
299 CertStore.getInstance(invalidValues[i], dParams, dName); in testCertStore08()
369 for (int i = 0; i < invalidValues.length; i++) { in testCertStore12()
371 CertStore.getInstance(invalidValues[i], dParams, dProv); in testCertStore12()
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
DKeyStore_Impl2Test.java58 private static final String[] invalidValues = SpiEngUtils.invalidValues; field in KeyStore_Impl2Test
307 for (int i = 0; i < invalidValues.length; i++) { in testGetInstance01()
309 KeyStore.getInstance(invalidValues[i]); in testGetInstance01()
311 invalidValues[i]).concat(")")); in testGetInstance01()
344 for (int i = 0; i < invalidValues.length; i++) { in testGetInstance02()
346 KeyStore.getInstance(invalidValues[i], mProv.getName()); in testGetInstance02()
348 invalidValues[i]).concat(")")); in testGetInstance02()
357 .concat(invalidValues[i]).concat(")")); in testGetInstance02()
362 for (int j = 1; j < invalidValues.length; j++) { in testGetInstance02()
364 KeyStore.getInstance(validValues[i], invalidValues[j]); in testGetInstance02()
[all …]
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/
DCertStore_ImplTest.java53 private static final String[] invalidValues = SpiEngUtils.invalidValues; field in CertStore_ImplTest
114 for (int i = 0; i < invalidValues.length; i++) { in testGetInstance01()
116 CertStore.getInstance(invalidValues[i], p); in testGetInstance01()
118 invalidValues[i]).concat(")")); in testGetInstance01()
167 for (int i = 0; i < invalidValues.length; i++) { in testGetInstance02()
169 CertStore.getInstance(invalidValues[i], p, mProv in testGetInstance02()
172 invalidValues[i]).concat(")")); in testGetInstance02()
192 for (int j = 1; j < invalidValues.length; j++) { in testGetInstance02()
195 invalidValues[j]); in testGetInstance02()
198 .concat(invalidValues[j]).concat(")")); in testGetInstance02()
[all …]
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
DKeyGeneratorTest.java67 private static final String[] invalidValues = SpiEngUtils.invalidValues; field in KeyGeneratorTest
158 for (int i = 0; i < invalidValues.length; i++) { in testGetInstanceString01()
160 KeyGenerator.getInstance(invalidValues[i]); in testGetInstanceString01()
202 for (int i = 0; i < invalidValues.length; i++) { in testGetInstanceStringString01()
204 KeyGenerator.getInstance(invalidValues[i], defaultProviderName); in testGetInstanceStringString01()
235 for (int j = 1; j < invalidValues.length; j++) { in testGetInstanceStringString02()
237 KeyGenerator.getInstance(validValues[i], invalidValues[j]); in testGetInstanceStringString02()
240 .concat(invalidValues[j]).concat(")")); in testGetInstanceStringString02()
283 for (int i = 0; i < invalidValues.length; i++) { in testGetInstanceStringProvider01()
285 KeyGenerator.getInstance(invalidValues[i], defaultProvider); in testGetInstanceStringProvider01()
[all …]
DSecretKeyFactoryTest.java61 private static final String[] invalidValues = SpiEngUtils.invalidValues; field in SecretKeyFactoryTest
155 for (int i = 0; i < invalidValues.length; i++) { in testSecretKeyFactory02()
157 SecretKeyFactory.getInstance(invalidValues[i]); in testSecretKeyFactory02()
200 for (int i = 0; i < invalidValues.length; i++) { in testSecretKeyFactory04()
202 SecretKeyFactory.getInstance(invalidValues[i], in testSecretKeyFactory04()
205 .concat(invalidValues[i]).concat(")")); in testSecretKeyFactory04()
238 for (int j = 1; j < invalidValues.length; j++) { in testSecretKeyFactory05()
241 invalidValues[j]); in testSecretKeyFactory05()
244 .concat(invalidValues[j]).concat(")")); in testSecretKeyFactory05()
289 for (int i = 0; i < invalidValues.length; i++) { in testSecretKeyFactory07()
[all …]
DKeyAgreementTest.java66 private static final String[] invalidValues = SpiEngUtils.invalidValues; field in KeyAgreementTest
123 for (int i = 0; i < invalidValues.length; i++) { in testGetInstanceString01()
125 KeyAgreement.getInstance(invalidValues[i]); in testGetInstanceString01()
167 for (int i = 0; i < invalidValues.length; i++) { in testGetInstanceStringString01()
169 KeyAgreement.getInstance(invalidValues[i], defaultProviderName); in testGetInstanceStringString01()
201 for (int j = 1; j < invalidValues.length; j++) { in testGetInstanceStringString02()
203 KeyAgreement.getInstance(validValues[i], invalidValues[j]); in testGetInstanceStringString02()
206 .concat(invalidValues[j]).concat(")")); in testGetInstanceStringString02()
252 for (int i = 0; i < invalidValues.length; i++) { in testGetInstanceStringProvider01()
254 KeyAgreement.getInstance(invalidValues[i], defaultProvider); in testGetInstanceStringProvider01()
[all …]

12