Home
last modified time | relevance | path

Searched refs:NoSuchAlgorithmException (Results 1 – 25 of 198) sorted by relevance

12345678

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DNoSuchAlgorithmExceptionTest.java25 import java.security.NoSuchAlgorithmException;
48 NoSuchAlgorithmException tE = new NoSuchAlgorithmException(); in testNoSuchAlgorithmException01()
59 NoSuchAlgorithmException tE; in testNoSuchAlgorithmException02()
61 tE = new NoSuchAlgorithmException(msgs[i]); in testNoSuchAlgorithmException02()
75 NoSuchAlgorithmException tE = new NoSuchAlgorithmException(msg); in testNoSuchAlgorithmException03()
87 NoSuchAlgorithmException tE = new NoSuchAlgorithmException(cause); in testNoSuchAlgorithmException04()
98 NoSuchAlgorithmException tE = new NoSuchAlgorithmException(tCause); in testNoSuchAlgorithmException05()
116 NoSuchAlgorithmException tE = new NoSuchAlgorithmException(null, null); in testNoSuchAlgorithmException06()
127 NoSuchAlgorithmException tE; in testNoSuchAlgorithmException07()
129 tE = new NoSuchAlgorithmException(msgs[i], null); in testNoSuchAlgorithmException07()
[all …]
DKeyStore4Test.java17 import java.security.NoSuchAlgorithmException;
195 } catch (NoSuchAlgorithmException e) { in testGetKey()
206 } catch (NoSuchAlgorithmException e) { in testGetKey()
217 } catch (NoSuchAlgorithmException e) { in testGetKey()
228 } catch (NoSuchAlgorithmException e) { in testGetKey()
241 } catch (NoSuchAlgorithmException e) { in testGetKey()
289 } catch (NoSuchAlgorithmException e) { in testStoreOutputStreamCharArray()
302 } catch (NoSuchAlgorithmException e) { in testStoreOutputStreamCharArray()
315 } catch (NoSuchAlgorithmException e) { in testStoreOutputStreamCharArray()
328 } catch (NoSuchAlgorithmException e) { in testStoreOutputStreamCharArray()
[all …]
DKeyPairGenerator2Test.java28 import java.security.NoSuchAlgorithmException;
184 private void GetInstance01(int mode) throws NoSuchAlgorithmException, in GetInstance01()
189 } catch (NoSuchAlgorithmException e) { in GetInstance01()
197 } catch (NoSuchAlgorithmException e) { in GetInstance01()
222 public void GetInstance02(int mode) throws NoSuchAlgorithmException, in GetInstance02()
228 } catch (NoSuchAlgorithmException e) { in GetInstance02()
236 } catch (NoSuchAlgorithmException e) { in GetInstance02()
282 private void GetInstance03(int mode) throws NoSuchAlgorithmException, in GetInstance03()
287 } catch (NoSuchAlgorithmException e) { in GetInstance03()
295 } catch (NoSuchAlgorithmException e) { in GetInstance03()
[all …]
DAlgorithmParameterGenerator1Test.java29 import java.security.NoSuchAlgorithmException;
96 throws NoSuchAlgorithmException { in testAlgorithmParameterGenerator01()
101 } catch (NoSuchAlgorithmException e) { in testAlgorithmParameterGenerator01()
107 } catch (NoSuchAlgorithmException e) { in testAlgorithmParameterGenerator01()
118 throws NoSuchAlgorithmException { in testAlgorithmParameterGenerator02()
137 throws NoSuchAlgorithmException, NoSuchProviderException { in testAlgorithmParameterGenerator03()
164 throws NoSuchAlgorithmException { in testAlgorithmParameterGenerator04()
199 } catch (NoSuchAlgorithmException e) { in testAlgorithmParameterGenerator05()
207 } catch (NoSuchAlgorithmException e) { in testAlgorithmParameterGenerator05()
218 throws NoSuchAlgorithmException, NoSuchProviderException { in testAlgorithmParameterGenerator06()
[all …]
DKeyPairGenerator1Test.java30 import java.security.NoSuchAlgorithmException;
99 public void testKeyPairGenerator01() throws NoSuchAlgorithmException { in testKeyPairGenerator01()
103 } catch (NoSuchAlgorithmException e) { in testKeyPairGenerator01()
111 } catch (NoSuchAlgorithmException e) { in testKeyPairGenerator01()
120 public void testKeyPairGenerator02() throws NoSuchAlgorithmException { in testKeyPairGenerator02()
138 public void testKeyPairGenerator03() throws NoSuchAlgorithmException, in testKeyPairGenerator03()
165 public void testKeyPairGenerator04() throws NoSuchAlgorithmException, in testKeyPairGenerator04()
201 } catch (NoSuchAlgorithmException e) { in testKeyPairGenerator05()
211 } catch (NoSuchAlgorithmException e) { in testKeyPairGenerator05()
222 NoSuchAlgorithmException, IllegalArgumentException { in testKeyPairGenerator06()
[all …]
DAlgorithmParameterGenerator2Test.java28 import java.security.NoSuchAlgorithmException;
117 public void testGetInstance01() throws NoSuchAlgorithmException, in testGetInstance01()
123 } catch (NoSuchAlgorithmException e) { in testGetInstance01()
130 } catch (NoSuchAlgorithmException e) { in testGetInstance01()
153 public void testGetInstance02() throws NoSuchAlgorithmException, in testGetInstance02()
160 } catch (NoSuchAlgorithmException e) { in testGetInstance02()
168 } catch (NoSuchAlgorithmException e) { in testGetInstance02()
213 public void testGetInstance03() throws NoSuchAlgorithmException, in testGetInstance03()
220 } catch (NoSuchAlgorithmException e) { in testGetInstance03()
227 } catch (NoSuchAlgorithmException e) { in testGetInstance03()
/libcore/ojluni/src/main/java/sun/security/jca/
DGetInstance.java65 throws NoSuchAlgorithmException { in getService()
69 throw new NoSuchAlgorithmException in getService()
76 String provider) throws NoSuchAlgorithmException, in getService()
87 throw new NoSuchAlgorithmException("no such algorithm: " in getService()
94 Provider provider) throws NoSuchAlgorithmException { in getService()
100 throw new NoSuchAlgorithmException("no such algorithm: " in getService()
153 String algorithm) throws NoSuchAlgorithmException { in getInstance()
159 throw new NoSuchAlgorithmException in getInstance()
162 NoSuchAlgorithmException failure; in getInstance()
165 } catch (NoSuchAlgorithmException e) { in getInstance()
[all …]
/libcore/ojluni/src/main/java/java/security/
DNoSuchAlgorithmException.java36 public class NoSuchAlgorithmException extends GeneralSecurityException { class
45 public NoSuchAlgorithmException() { in NoSuchAlgorithmException() method in NoSuchAlgorithmException
57 public NoSuchAlgorithmException(String msg) { in NoSuchAlgorithmException() method in NoSuchAlgorithmException
72 public NoSuchAlgorithmException(String message, Throwable cause) { in NoSuchAlgorithmException() method in NoSuchAlgorithmException
87 public NoSuchAlgorithmException(Throwable cause) { in NoSuchAlgorithmException() method in NoSuchAlgorithmException
DKeyStoreSpi.java76 throws NoSuchAlgorithmException, UnrecoverableKeyException; in engineGetKey()
297 throws IOException, NoSuchAlgorithmException, CertificateException; in engineStore()
319 throws IOException, NoSuchAlgorithmException, in engineStore()
351 throws IOException, NoSuchAlgorithmException, CertificateException; in engineLoad()
381 throws IOException, NoSuchAlgorithmException, in engineLoad()
387 throws IOException, NoSuchAlgorithmException, in engineLoad()
408 throw new NoSuchAlgorithmException in engineLoad()
414 throw new NoSuchAlgorithmException in engineLoad()
418 throw new NoSuchAlgorithmException("ProtectionParameter must" in engineLoad()
454 throws KeyStoreException, NoSuchAlgorithmException, in engineGetEntry()
/libcore/luni/src/test/java/tests/targets/security/
DSignatureTestMD2withRSA.java20 import java.security.NoSuchAlgorithmException;
38 } catch (NoSuchAlgorithmException e) { in testSignature()
45 } catch (NoSuchAlgorithmException e) { in testSignature()
52 } catch (NoSuchAlgorithmException e) { in testSignature()
59 } catch (NoSuchAlgorithmException e) { in testSignature()
66 } catch (NoSuchAlgorithmException e) { in testSignature()
73 } catch (NoSuchAlgorithmException e) { in testSignature()
80 } catch (NoSuchAlgorithmException e) { in testSignature()
87 } catch (NoSuchAlgorithmException e) { in testSignature()
/libcore/luni/src/test/java/tests/security/cert/
DCertPathValidator1Test.java28 import java.security.NoSuchAlgorithmException;
134 } catch (NoSuchAlgorithmException e) { in testCertPathValidator02()
140 } catch (NoSuchAlgorithmException e) { in testCertPathValidator02()
148 public void testCertPathValidator03() throws NoSuchAlgorithmException { in testCertPathValidator03()
166 throws NoSuchAlgorithmException, NoSuchProviderException { in testCertPathValidator04()
190 public void testCertPathValidator05() throws NoSuchAlgorithmException { in testCertPathValidator05()
214 throws NoSuchAlgorithmException, NoSuchProviderException { in testCertPathValidator06()
223 } catch (NoSuchAlgorithmException e) { in testCertPathValidator06()
229 } catch (NoSuchAlgorithmException e1) { in testCertPathValidator06()
237 public void testCertPathValidator07() throws NoSuchAlgorithmException, in testCertPathValidator07()
[all …]
DCertPathBuilder1Test.java30 import java.security.NoSuchAlgorithmException;
112 public void testCertPathBuilder02() throws NoSuchAlgorithmException { in testCertPathBuilder02()
122 } catch (NoSuchAlgorithmException e) { in testCertPathBuilder02()
131 public void testCertPathBuilder03() throws NoSuchAlgorithmException { in testCertPathBuilder03()
148 throws NoSuchAlgorithmException, NoSuchProviderException { in testCertPathBuilder04()
174 throws NoSuchAlgorithmException { in testCertPathBuilder05()
196 throws NoSuchAlgorithmException, NoSuchProviderException { in testCertPathBuilder06()
210 } catch (NoSuchAlgorithmException e1) { in testCertPathBuilder06()
220 throws NoSuchAlgorithmException, NoSuchProviderException { in testCertPathBuilder07()
238 throws NoSuchAlgorithmException { in testCertPathBuilder08()
[all …]
DCertStore2Test.java6 import java.security.NoSuchAlgorithmException;
48 } catch (NoSuchAlgorithmException e) { in testGetInstanceStringCertStoreParameters()
60 } catch (NoSuchAlgorithmException e) { in testGetInstanceStringCertStoreParameters()
69 } catch (NoSuchAlgorithmException e) { in testGetInstanceStringCertStoreParameters()
79 } catch (NoSuchAlgorithmException e) { in testGetInstanceStringCertStoreParameters()
96 } catch (NoSuchAlgorithmException e) { in testGetInstanceStringCertStoreParametersString()
111 } catch (NoSuchAlgorithmException e) { in testGetInstanceStringCertStoreParametersString()
123 } catch (NoSuchAlgorithmException e) { in testGetInstanceStringCertStoreParametersString()
135 } catch (NoSuchAlgorithmException e) { in testGetInstanceStringCertStoreParametersString()
146 } catch (NoSuchAlgorithmException e) { in testGetInstanceStringCertStoreParametersString()
[all …]
DCertPathBuilder2Test.java30 import java.security.NoSuchAlgorithmException;
99 public void testGetInstance01() throws NoSuchAlgorithmException, in testGetInstance01()
105 } catch (NoSuchAlgorithmException e) { in testGetInstance01()
112 } catch (NoSuchAlgorithmException e) { in testGetInstance01()
133 public void testGetInstance02() throws NoSuchAlgorithmException, in testGetInstance02()
140 } catch (NoSuchAlgorithmException e) { in testGetInstance02()
148 } catch (NoSuchAlgorithmException e) { in testGetInstance02()
196 public void testGetInstance03() throws NoSuchAlgorithmException, in testGetInstance03()
203 } catch (NoSuchAlgorithmException e) { in testGetInstance03()
210 } catch (NoSuchAlgorithmException e) { in testGetInstance03()
DCertPathValidator2Test.java32 import java.security.NoSuchAlgorithmException;
108 public void testGetInstance01() throws NoSuchAlgorithmException, in testGetInstance01()
114 } catch (NoSuchAlgorithmException e) { in testGetInstance01()
121 } catch (NoSuchAlgorithmException e) { in testGetInstance01()
141 public void testGetInstance02() throws NoSuchAlgorithmException, NoSuchProviderException, in testGetInstance02()
148 } catch (NoSuchAlgorithmException e) { in testGetInstance02()
155 } catch (NoSuchAlgorithmException e) { in testGetInstance02()
199 public void testGetInstance03() throws NoSuchAlgorithmException, IllegalArgumentException, in testGetInstance03()
205 } catch (NoSuchAlgorithmException e) { in testGetInstance03()
212 } catch (NoSuchAlgorithmException e) { in testGetInstance03()
[all …]
/libcore/ojluni/src/main/java/java/security/cert/
DCertStore.java30 import java.security.NoSuchAlgorithmException;
237 NoSuchAlgorithmException { in getInstance()
244 } catch (NoSuchAlgorithmException e) { in getInstance()
249 private static CertStore handleException(NoSuchAlgorithmException e) in handleException()
250 throws NoSuchAlgorithmException, in handleException()
311 NoSuchAlgorithmException, NoSuchProviderException { in getInstance()
318 } catch (NoSuchAlgorithmException e) { in getInstance()
367 Provider provider) throws NoSuchAlgorithmException, in getInstance()
375 } catch (NoSuchAlgorithmException e) { in getInstance()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DKeyGeneratorTest.java28 import java.security.NoSuchAlgorithmException;
111 public void testKeyGenerator() throws NoSuchAlgorithmException, in testKeyGenerator()
157 public void testGetInstanceString01() throws NoSuchAlgorithmException { in testGetInstanceString01()
162 } catch (NoSuchAlgorithmException e) { in testGetInstanceString01()
168 } catch (NoSuchAlgorithmException e) { in testGetInstanceString01()
177 public void testGetInstanceString02() throws NoSuchAlgorithmException { in testGetInstanceString02()
196 NoSuchAlgorithmException, IllegalArgumentException, in testGetInstanceStringString01()
206 } catch (NoSuchAlgorithmException e) { in testGetInstanceStringString01()
212 } catch (NoSuchAlgorithmException e) { in testGetInstanceStringString01()
224 NoSuchAlgorithmException, NoSuchProviderException { in testGetInstanceStringString02()
[all …]
DSecretKeyFactoryTest.java27 import java.security.NoSuchAlgorithmException;
120 public void testSecretKeyFactory01() throws NoSuchAlgorithmException, in testSecretKeyFactory01()
151 public void testSecretKeyFactory02() throws NoSuchAlgorithmException { in testSecretKeyFactory02()
156 } catch (NoSuchAlgorithmException e) { in testSecretKeyFactory02()
162 } catch (NoSuchAlgorithmException e) { in testSecretKeyFactory02()
171 public void testSecretKeyFactory03() throws NoSuchAlgorithmException { in testSecretKeyFactory03()
191 public void testSecretKeyFactory04() throws NoSuchAlgorithmException, in testSecretKeyFactory04()
201 } catch (NoSuchAlgorithmException e) { in testSecretKeyFactory04()
209 } catch (NoSuchAlgorithmException e) { in testSecretKeyFactory04()
221 public void testSecretKeyFactory05() throws NoSuchAlgorithmException, in testSecretKeyFactory05()
[all …]
DEncryptedPrivateKeyInfoTest.java33 import java.security.NoSuchAlgorithmException;
220 } catch (NoSuchAlgorithmException allowedFailure) { in test_getAlgName()
417 } catch (NoSuchAlgorithmException allowed) { in testEncryptedPrivateKeyInfoStringbyteArray1()
437 } catch (NoSuchAlgorithmException ok) { in testEncryptedPrivateKeyInfoStringbyteArray2()
444 } catch (NoSuchAlgorithmException ok) { in testEncryptedPrivateKeyInfoStringbyteArray2()
460 throws NoSuchAlgorithmException { in testEncryptedPrivateKeyInfoStringbyteArray3()
527 } catch (NoSuchAlgorithmException e) { in testEncryptedPrivateKeyInfoStringbyteArray6()
551 throws IOException, NoSuchAlgorithmException { in testEncryptedPrivateKeyInfoAlgorithmParametersbyteArray1()
567 } catch (NoSuchAlgorithmException allowedFailure) { in testEncryptedPrivateKeyInfoAlgorithmParametersbyteArray1()
578 } catch (NoSuchAlgorithmException e) { in testEncryptedPrivateKeyInfoAlgorithmParametersbyteArray1()
[all …]
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DTestKeyStoreSpi.java28 import java.security.NoSuchAlgorithmException;
126 throws NoSuchAlgorithmException, UnrecoverableKeyException { in engineGetKey()
130 throw new NoSuchAlgorithmException("no such alg"); in engineGetKey()
164 throws IOException, NoSuchAlgorithmException, CertificateException { in engineLoad()
172 throw new NoSuchAlgorithmException(); in engineLoad()
180 NoSuchAlgorithmException, CertificateException { in engineLoad()
188 throw new NoSuchAlgorithmException(); in engineLoad()
194 throw new NoSuchAlgorithmException(); in engineLoad()
245 throws IOException, NoSuchAlgorithmException, CertificateException { in engineStore()
251 throw new NoSuchAlgorithmException(); in engineStore()
[all …]
/libcore/ojluni/annotations/hiddenapi/sun/security/jca/
DGetInstance.java40 throws java.security.NoSuchAlgorithmException { in getService()
46 throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException { in getService()
52 throws java.security.NoSuchAlgorithmException { in getService()
74 throws java.security.NoSuchAlgorithmException { in getInstance()
84 throws java.security.NoSuchAlgorithmException { in getInstance()
93 throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException { in getInstance()
104 throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException { in getInstance()
113 throws java.security.NoSuchAlgorithmException { in getInstance()
124 throws java.security.NoSuchAlgorithmException { in getInstance()
130 throws java.security.NoSuchAlgorithmException { in getInstance()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DKeyManagerFactory1Test.java24 import java.security.NoSuchAlgorithmException;
101 throws NoSuchAlgorithmException, NoSuchProviderException { in test_getAlgorithm()
151 public void test_getInstanceLjava_lang_String01() throws NoSuchAlgorithmException { in test_getInstanceLjava_lang_String01()
175 } catch (NoSuchAlgorithmException e) { in test_getInstanceLjava_lang_String02()
183 } catch (NoSuchAlgorithmException e) { in test_getInstanceLjava_lang_String02()
194 NoSuchAlgorithmException { in test_getInstanceLjava_lang_StringLjava_lang_String01()
229 } catch (NoSuchAlgorithmException e) { in test_getInstanceLjava_lang_StringLjava_lang_String02()
238 } catch (NoSuchAlgorithmException e) { in test_getInstanceLjava_lang_StringLjava_lang_String02()
250 throws NoSuchAlgorithmException { in test_getInstanceLjava_lang_StringLjava_lang_String03()
275 NoSuchAlgorithmException { in test_getInstanceLjava_lang_StringLjava_lang_String04()
[all …]
DSSLContext1Test.java24 import java.security.NoSuchAlgorithmException;
97 throws NoSuchAlgorithmException, in test_ConstructorLjavax_net_ssl_SSLContextSpiLjava_security_ProviderLjava_lang_String()
174 …public void test_getClientSessionContext() throws NoSuchAlgorithmException, KeyManagementException… in test_getClientSessionContext()
195 throws NoSuchAlgorithmException { in test_getInstanceLjava_lang_String01()
218 } catch (NoSuchAlgorithmException e) { in test_getInstanceLjava_lang_String02()
226 } catch (NoSuchAlgorithmException e) { in test_getInstanceLjava_lang_String02()
237 NoSuchAlgorithmException { in test_getInstanceLjava_lang_StringLjava_lang_String01()
270 } catch (NoSuchAlgorithmException e) { in test_getInstanceLjava_lang_StringLjava_lang_String02()
278 } catch (NoSuchAlgorithmException e) { in test_getInstanceLjava_lang_StringLjava_lang_String02()
288 …ublic void test_getInstanceLjava_lang_StringLjava_lang_String03() throws NoSuchAlgorithmException { in test_getInstanceLjava_lang_StringLjava_lang_String03()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
DEncryptedPrivateKeyInfoData.java20 import java.security.NoSuchAlgorithmException;
1196 throws NoSuchAlgorithmException { in getValidEncryptedPrivateKeyInfoEncoding()
1203 throw new NoSuchAlgorithmException("No encoding available for " in getValidEncryptedPrivateKeyInfoEncoding()
1208 throws NoSuchAlgorithmException { in getValidEncryptedPrivateKeyInfoEncoding()
1219 throws NoSuchAlgorithmException { in getParametersEncoding()
1225 throw new NoSuchAlgorithmException("No AP encoding available for " in getParametersEncoding()
/libcore/luni/src/test/java/tests/java/security/
DSecureRandomTest.java25 import java.security.NoSuchAlgorithmException;
129 } catch (NoSuchAlgorithmException e) { in testGetInstanceString()
149 } catch (NoSuchAlgorithmException e) { in testGetInstanceStringString()
164 } catch (NoSuchAlgorithmException e) { in testGetInstanceStringString()
177 } catch (NoSuchAlgorithmException e) { in testGetInstanceStringString()
190 } catch (NoSuchAlgorithmException e) { in testGetInstanceStringString()
212 } catch (NoSuchAlgorithmException e) { in testGetInstanceStringProvider()
224 } catch (NoSuchAlgorithmException e) { in testGetInstanceStringProvider()
235 } catch (NoSuchAlgorithmException e) { in testGetInstanceStringProvider()

12345678