/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/ |
KeyStoreExceptionTest.java | 24 import java.security.KeyStoreException; 30 * Test for KeyStoreException serialization 42 KeyStoreException dExc = new KeyStoreException(msgs[0], cause); 45 return new Object[] { new KeyStoreException(), new KeyStoreException(msg), 46 new KeyStoreException(msgs[1]), 47 new KeyStoreException(new Throwable()), new KeyStoreException(th), 48 new KeyStoreException(msgs[1], dExc) } [all...] |
/libcore/luni/src/main/java/java/security/ |
KeyStoreException.java | 21 * {@code KeyStoreException} is a general {@code KeyStore} exception. 25 public class KeyStoreException extends GeneralSecurityException { 30 * Constructs a new instance of {@code KeyStoreException} with the 36 public KeyStoreException(String msg) { 41 * Constructs a new instance of {@code KeyStoreException}. 43 public KeyStoreException() { 47 * Constructs a new instance of {@code KeyStoreException} with the 55 public KeyStoreException(String message, Throwable cause) { 60 * Constructs a new instance of {@code KeyStoreException} with the 66 public KeyStoreException(Throwable cause) [all...] |
KeyStore.java | 95 private static void throwNotInitialized() throws KeyStoreException { 96 throw new KeyStoreException("KeyStore was not initialized"); 105 * @throws KeyStoreException 111 public static KeyStore getInstance(String type) throws KeyStoreException { 119 throw new KeyStoreException(e); 133 * @throws KeyStoreException 145 throws KeyStoreException, NoSuchProviderException { 156 throw new KeyStoreException(e); 170 * @throws KeyStoreException 179 public static KeyStore getInstance(String type, Provider provider) throws KeyStoreException { [all...] |
/libcore/luni/src/main/java/javax/net/ssl/ |
TrustManagerFactorySpi.java | 22 import java.security.KeyStoreException; 42 * @throws KeyStoreException 45 protected abstract void engineInit(KeyStore ks) throws KeyStoreException;
|
KeyManagerFactorySpi.java | 22 import java.security.KeyStoreException; 45 * @throws KeyStoreException 52 protected abstract void engineInit(KeyStore ks, char[] password) throws KeyStoreException,
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KeyStoreExceptionTest.java | 23 import java.security.KeyStoreException; 29 * Tests for <code>KeyStoreException</code> class constructors and methods. 54 * Test for <code>KeyStoreException()</code> constructor Assertion: 55 * constructs KeyStoreException with no detail message 58 KeyStoreException tE = new KeyStoreException(); 64 * Test for <code>KeyStoreException(String)</code> constructor Assertion: 65 * constructs KeyStoreException with detail message msg. Parameter 69 KeyStoreException tE; 71 tE = new KeyStoreException(msgs[i]) [all...] |
KeyStoreSpiTest.java | 26 import java.security.KeyStoreException; 69 * engineSetEntry(..) throws KeyStoreException or NullPointerException 73 UnrecoverableEntryException, KeyStoreException { 89 fail("KeyStoreException or NullPointerException must be thrown"); 90 } catch (KeyStoreException e) { 97 fail("KeyStoreException must be thrown"); 98 } catch (KeyStoreException e) { 103 fail("KeyStoreException must be thrown"); 104 } catch (KeyStoreException e) { 127 fail("KeyStoreException must be thrown from engineSetKeyEntry(..)") [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyStoreExceptionTest.java | 25 import java.security.KeyStoreException; 30 * Tests for <code>KeyStoreException</code> class constructors and methods. 43 * Test for <code>KeyStoreException()</code> constructor Assertion: 44 * constructs KeyStoreException with no detail message 47 KeyStoreException tE = new KeyStoreException(); 53 * Test for <code>KeyStoreException(String)</code> constructor Assertion: 54 * constructs KeyStoreException with detail message msg. Parameter 58 KeyStoreException tE; 60 tE = new KeyStoreException(msgs[i]) [all...] |
KeyStore4Test.java | 16 import java.security.KeyStoreException; 45 } catch (KeyStoreException e) { 51 } catch (KeyStoreException e) { 69 } catch (KeyStoreException e) { 75 fail("expected KeyStoreException"); 76 } catch (KeyStoreException e) { 85 } catch (KeyStoreException e) { 95 } catch (KeyStoreException e) { 103 fail("expected KeyStoreException"); 104 } catch (KeyStoreException e) [all...] |
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
MyKeyStoreSpi.java | 29 import java.security.KeyStoreException; 63 Certificate[] chain) throws KeyStoreException { 64 throw new KeyStoreException( 69 throws KeyStoreException { 70 throw new KeyStoreException( 75 throws KeyStoreException { 76 throw new KeyStoreException( 80 public void engineDeleteEntry(String alias) throws KeyStoreException { 81 throw new KeyStoreException(
|
/external/apache-harmony/x-net/src/test/java/javax/net/ssl/ |
MyTrustManagerFactorySpi.java | 26 import java.security.KeyStoreException; 36 protected void engineInit(KeyStore ks) throws KeyStoreException { 38 throw new KeyStoreException("Not supported operation for null KeyStore"); 51 } catch (KeyStoreException e) {
|
MyKeyManagerFactorySpi.java | 26 import java.security.KeyStoreException; 40 throws KeyStoreException, NoSuchAlgorithmException, 43 throw new KeyStoreException("Incorrect password");
|
TrustManagerFactorySpiTests.java | 26 import java.security.KeyStoreException; 60 fail("KeyStoreException must be thrown"); 61 } catch (KeyStoreException e) { 74 } catch (KeyStoreException e) { 84 assertTrue("Incorrect exception", e.getCause() instanceof KeyStoreException);
|
/external/apache-harmony/x-net/src/test/support/common/java/org/apache/harmony/xnet/tests/support/ |
MyTrustManagerFactorySpi.java | 22 import java.security.KeyStoreException; 36 protected void engineInit(KeyStore ks) throws KeyStoreException { 38 throw new KeyStoreException("Not supported operation for null KeyStore"); 51 } catch (KeyStoreException e) {
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
MyTrustManagerFactorySpi.java | 22 import java.security.KeyStoreException; 35 protected void engineInit(KeyStore ks) throws KeyStoreException { 37 throw new KeyStoreException("Not supported operation for null KeyStore"); 49 } catch (KeyStoreException e) {
|
MyKeyStoreSpi.java | 30 import java.security.KeyStoreException; 69 Certificate[] chain) throws KeyStoreException { 70 throw new KeyStoreException( 75 throws KeyStoreException { 76 throw new KeyStoreException( 81 throws KeyStoreException { 82 throw new KeyStoreException( 86 public void engineDeleteEntry(String alias) throws KeyStoreException { 87 throw new KeyStoreException(
|
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
MyTrustManagerFactorySpi.java | 22 import java.security.KeyStoreException; 35 protected void engineInit(KeyStore ks) throws KeyStoreException { 37 throw new KeyStoreException("Not supported operation for null KeyStore"); 49 } catch (KeyStoreException e) {
|
KeyManagerFactorySpiImpl.java | 5 import java.security.KeyStoreException; 17 throws KeyStoreException, NoSuchAlgorithmException, 25 throw new KeyStoreException();
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
KeyManagerFactoryImpl.java | 25 import java.security.KeyStoreException; 52 throws KeyStoreException, NoSuchAlgorithmException, 69 throw new KeyStoreException(e); 71 throw new KeyStoreException(e); 83 throw new KeyStoreException(e); 85 throw new KeyStoreException(e); 87 throw new KeyStoreException(e);
|
TrustManagerFactoryImpl.java | 23 import java.security.KeyStoreException; 44 public void engineInit(KeyStore ks) throws KeyStoreException { 52 throw new KeyStoreException(e); 54 throw new KeyStoreException(e); 56 throw new KeyStoreException(e);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
KeyStore_Impl2Test.java | 27 import java.security.KeyStoreException; 89 private void checkResult(KeyStore keyS) throws KeyStoreException, 112 fail("KeyStoreException must be thrown because this method is not supported"); 113 } catch (KeyStoreException e) { 124 fail("KeyStoreException must be thrown because this method is not supported"); 125 } catch (KeyStoreException e) { 129 fail("KeyStoreException must be thrown because this method is not supported"); 130 } catch (KeyStoreException e) { 134 fail("KeyStoreException must be thrown because this method is not supported"); 135 } catch (KeyStoreException e) [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_DummyPKCS12Keystore.java | 24 import java.security.KeyStoreException; 65 Certificate[] arg3) throws KeyStoreException { 70 throws KeyStoreException { 75 throws KeyStoreException { 79 public void engineDeleteEntry(String arg0) throws KeyStoreException {
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/ |
PKIXBuilderParameters_ImplTest.java | 27 import java.security.KeyStoreException; 48 * @throws KeyStoreException 51 throws KeyStoreException, 69 * @throws KeyStoreException 72 throws KeyStoreException, 92 * @throws KeyStoreException 95 throws KeyStoreException, 111 * Assertion: <code>KeyStoreException</code> - 123 fail("KeyStoreException expected"); 124 } catch (KeyStoreException e) [all...] |
/libcore/luni/src/main/java/java/security/cert/ |
PKIXBuilderParameters.java | 23 import java.security.KeyStoreException; 70 * @throws KeyStoreException 78 throws KeyStoreException,
|
/libcore/luni/src/test/java/tests/targets/security/ |
KeyStoreTest.java | 29 import java.security.KeyStoreException; 55 } catch (KeyStoreException e) { 73 } catch (KeyStoreException e) { 82 } catch (KeyStoreException e) { 128 } catch (KeyStoreException e) { 134 } catch (KeyStoreException e) { 148 } catch (KeyStoreException e) { 156 } catch (KeyStoreException e) {
|