| /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
| D | NoSuchAlgorithmExceptionTest.java | 25 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 …]
|
| D | KeyStore4Test.java | 17 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 …]
|
| D | KeyPairGenerator2Test.java | 28 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 …]
|
| D | AlgorithmParameterGenerator1Test.java | 29 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 …]
|
| D | KeyPairGenerator1Test.java | 30 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 …]
|
| D | AlgorithmParameterGenerator2Test.java | 28 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/ |
| D | GetInstance.java | 65 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/ |
| D | NoSuchAlgorithmException.java | 35 public class NoSuchAlgorithmException extends GeneralSecurityException { class 44 public NoSuchAlgorithmException() { in NoSuchAlgorithmException() method in NoSuchAlgorithmException 56 public NoSuchAlgorithmException(String msg) { in NoSuchAlgorithmException() method in NoSuchAlgorithmException 71 public NoSuchAlgorithmException(String message, Throwable cause) { in NoSuchAlgorithmException() method in NoSuchAlgorithmException 86 public NoSuchAlgorithmException(Throwable cause) { in NoSuchAlgorithmException() method in NoSuchAlgorithmException
|
| D | KeyStoreSpi.java | 76 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() 402 throw new NoSuchAlgorithmException in engineLoad() 408 throw new NoSuchAlgorithmException in engineLoad() 412 throw new NoSuchAlgorithmException("ProtectionParameter must" in engineLoad() 448 throws KeyStoreException, NoSuchAlgorithmException, in engineGetEntry()
|
| /libcore/luni/src/test/java/tests/targets/security/ |
| D | SignatureTestMD2withRSA.java | 20 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/ |
| D | CertPathValidator1Test.java | 28 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 …]
|
| D | CertPathBuilder1Test.java | 32 import java.security.NoSuchAlgorithmException; 114 public void testCertPathBuilder02() throws NoSuchAlgorithmException { in testCertPathBuilder02() 124 } catch (NoSuchAlgorithmException e) { in testCertPathBuilder02() 133 public void testCertPathBuilder03() throws NoSuchAlgorithmException { in testCertPathBuilder03() 150 throws NoSuchAlgorithmException, NoSuchProviderException { in testCertPathBuilder04() 176 throws NoSuchAlgorithmException { in testCertPathBuilder05() 198 throws NoSuchAlgorithmException, NoSuchProviderException { in testCertPathBuilder06() 212 } catch (NoSuchAlgorithmException e1) { in testCertPathBuilder06() 222 throws NoSuchAlgorithmException, NoSuchProviderException { in testCertPathBuilder07() 240 throws NoSuchAlgorithmException { in testCertPathBuilder08() [all …]
|
| D | CertStore2Test.java | 6 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 …]
|
| D | CertPathBuilder2Test.java | 30 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()
|
| D | CertPathValidator2Test.java | 32 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/ |
| D | CertStore.java | 30 import java.security.NoSuchAlgorithmException; 235 NoSuchAlgorithmException { in getInstance() 241 } catch (NoSuchAlgorithmException e) { in getInstance() 246 private static CertStore handleException(NoSuchAlgorithmException e) in handleException() 247 throws NoSuchAlgorithmException, InvalidAlgorithmParameterException { in handleException() 305 NoSuchAlgorithmException, NoSuchProviderException { in getInstance() 311 } catch (NoSuchAlgorithmException e) { in getInstance() 358 Provider provider) throws NoSuchAlgorithmException, in getInstance() 365 } catch (NoSuchAlgorithmException e) { in getInstance()
|
| /libcore/ojluni/annotations/hiddenapi/sun/security/jca/ |
| D | GetInstance.java | 40 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/support/src/test/java/org/apache/harmony/security/tests/support/ |
| D | TestKeyStoreSpi.java | 11 import java.security.NoSuchAlgorithmException; 109 throws NoSuchAlgorithmException, UnrecoverableKeyException { in engineGetKey() 113 throw new NoSuchAlgorithmException("no such alg"); in engineGetKey() 147 throws IOException, NoSuchAlgorithmException, CertificateException { in engineLoad() 155 throw new NoSuchAlgorithmException(); in engineLoad() 163 NoSuchAlgorithmException, CertificateException { in engineLoad() 171 throw new NoSuchAlgorithmException(); in engineLoad() 177 throw new NoSuchAlgorithmException(); in engineLoad() 228 throws IOException, NoSuchAlgorithmException, CertificateException { in engineStore() 234 throw new NoSuchAlgorithmException(); in engineStore() [all …]
|
| /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
| D | KeyGeneratorTest.java | 28 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 …]
|
| D | SecretKeyFactoryTest.java | 27 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 …]
|
| D | EncryptedPrivateKeyInfoTest.java | 33 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/luni/src/test/java/org/apache/harmony/crypto/tests/support/ |
| D | EncryptedPrivateKeyInfoData.java | 20 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/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
| D | KeyManagerFactory1Test.java | 24 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 …]
|
| D | SSLContext1Test.java | 24 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/tests/java/security/ |
| D | SecureRandomTest.java | 25 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()
|