HomeSort by relevance Sort by last modified time
    Searched refs:KeyStoreException (Results 26 - 50 of 93) sorted by null

12 3 4

  /libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
TrustManagerFactorySpiImpl.java 5 import java.security.KeyStoreException;
17 public void engineInit(KeyStore ks) throws KeyStoreException {
MyKeyManagerFactorySpi.java 22 import java.security.KeyStoreException;
39 throws KeyStoreException, NoSuchAlgorithmException,
42 throw new KeyStoreException("Incorrect password");
  /external/apache-harmony/x-net/src/test/java/javax/net/ssl/
KeyManagerFactorySpiTests.java 26 import java.security.KeyStoreException;
65 fail("KeyStoreException must be thrown");
66 } catch (KeyStoreException e) {
84 } catch (KeyStoreException e) {
  /external/apache-harmony/x-net/src/test/support/common/java/org/apache/harmony/xnet/tests/support/
MyKeyManagerFactorySpi.java 22 import java.security.KeyStoreException;
40 throws KeyStoreException, NoSuchAlgorithmException,
43 throw new KeyStoreException("Incorrect password");
  /libcore/luni/src/main/java/java/security/
KeyStoreSpi.java 100 * @throws KeyStoreException
108 char[] password, Certificate[] chain) throws KeyStoreException;
121 * @throws KeyStoreException
128 Certificate[] chain) throws KeyStoreException;
139 * @throws KeyStoreException
145 Certificate cert) throws KeyStoreException;
153 * @throws KeyStoreException
157 throws KeyStoreException;
342 * @throws KeyStoreException
346 KeyStore.ProtectionParameter protParam) throws KeyStoreException,
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyStoreBuilderTest.java 28 import java.security.KeyStoreException;
90 throws KeyStoreException, NoSuchAlgorithmException, IOException,
149 } catch (KeyStoreException e) {
155 } catch (KeyStoreException e) {
156 // KeyStoreException might be thrown because there is no entry
162 } catch (KeyStoreException e) {
163 // KeyStoreException might be thrown because there is no entry
201 * KeyStoreException when alias is not available; returns
259 fail("KeyStoreException must be throw because file is empty");
260 } catch (KeyStoreException e)
    [all...]
KeyStoreSpiTest.java 34 import java.security.KeyStoreException;
105 UnrecoverableEntryException, KeyStoreException {
121 fail("KeyStoreException or NullPointerException must be thrown");
122 } catch (KeyStoreException e) {
129 fail("KeyStoreException must be thrown");
130 } catch (KeyStoreException e) {
135 fail("KeyStoreException must be thrown");
136 } catch (KeyStoreException e) {
157 fail("KeyStoreException must be thrown from engineSetKeyEntry(..)");
158 } catch (KeyStoreException e)
    [all...]
KeyStore3Test.java 32 import java.security.KeyStoreException;
85 fail("should throw KeyStoreException: not initialized");
86 } catch (KeyStoreException e) {
193 public void engineDeleteEntry(String arg0) throws KeyStoreException {
232 throws KeyStoreException {
237 Certificate[] arg2) throws KeyStoreException {
242 Certificate[] arg3) throws KeyStoreException {
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
KSBuilder_ImplTest.java 29 import java.security.KeyStoreException;
109 * throws KeyStoreException when alias is not available;
114 throws KeyStoreException, NoSuchAlgorithmException, IOException,
174 } catch (KeyStoreException e) {
180 } catch (KeyStoreException e) {
181 // KeyStoreException might be thrown because there is no entry with such alias
186 } catch (KeyStoreException e) {
187 // KeyStoreException might be thrown because there is no entry with such alias
229 * throws KeyStoreException when alias is not available;
290 fail("KeyStoreException must be throw because file is empty")
    [all...]
KeyStore_Impl1Test.java 27 import java.security.KeyStoreException;
80 * returns KeyStoreException object
82 public void testKeyStore03() throws KeyStoreException {
118 public void testKeyStore05() throws KeyStoreException {
137 * throws KeyStoreException when type is not available
143 fail("KeyStoreException must be thrown when type is null");
144 } catch (KeyStoreException e) {
150 fail("KeyStoreException must be thrown (type: ".concat(
153 } catch (KeyStoreException e) {
177 public void testKeyStore08() throws KeyStoreException {
    [all...]
  /sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/build/
DebugKeyProvider.java 26 import java.security.KeyStoreException;
97 throws KeyStoreException, NoSuchAlgorithmException, CertificateException,
133 public PrivateKey getDebugKey() throws KeyStoreException, NoSuchAlgorithmException,
147 public Certificate getCertificate() throws KeyStoreException, NoSuchAlgorithmException,
163 private boolean loadKeyEntry(String osKeyStorePath, String storeType) throws KeyStoreException,
188 * @throws KeyStoreException
196 throws KeyStoreException, NoSuchAlgorithmException, CertificateException,
MakeIdentity.java 26 import java.security.KeyStoreException;
61 * @throws KeyStoreException
68 throws KeyStoreException, NoSuchAlgorithmException,
  /external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
KeyStoreBuilderParametersTest.java 21 import java.security.KeyStoreException;
38 public KeyStore getKeyStore() throws KeyStoreException {
44 throws KeyStoreException {
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
TestKeyStoreSpi.java 9 import java.security.KeyStoreException;
73 public void engineDeleteEntry(String alias) throws KeyStoreException {
74 throw new KeyStoreException("entry " + alias + " cannot be deleted");
187 throws KeyStoreException {
190 throw new KeyStoreException("alias is not a cert entry");
198 Certificate[] chain) throws KeyStoreException {
201 throw new KeyStoreException("alias is not a key enrty");
217 throws KeyStoreException {
218 throw new KeyStoreException("set entry failed");
MyKeyStore.java 31 import java.security.KeyStoreException;
93 Certificate[] chain) throws KeyStoreException {
105 throws KeyStoreException {
107 throw new KeyStoreException("Not Supported for null key");
126 throws KeyStoreException {
131 public void engineDeleteEntry(String alias) throws KeyStoreException {
  /external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/
KeyManagerFactoryImplTest.java 22 import java.security.KeyStoreException;
48 fail("No expected KeyStoreException");
49 } catch (KeyStoreException e) {
TrustManagerFactoryImplTest.java 22 import java.security.KeyStoreException;
48 fail("No expected KeyStoreException");
49 } catch (KeyStoreException e) {
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
KeyStore3Test.java 30 import java.security.KeyStoreException;
94 fail("should throw KeyStoreException: not initialized");
95 } catch (KeyStoreException e) {
162 public void test_getKeyStore() throws KeyStoreException,
210 public void engineDeleteEntry(String arg0) throws KeyStoreException {
249 throws KeyStoreException {
254 Certificate[] arg2) throws KeyStoreException {
259 Certificate[] arg3) throws KeyStoreException {
  /external/apache-http/src/org/apache/http/conn/ssl/
SSLSocketFactory.java 53 import java.security.KeyStoreException;
178 throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException
202 throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException
208 throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException
214 throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException
245 throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException {
256 throws KeyStoreException, NoSuchAlgorithmException {
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
SSLSocketFactory.java 59 import java.security.KeyStoreException;
184 throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException
208 throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException
214 throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException
220 throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException
249 throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException {
260 throws KeyStoreException, NoSuchAlgorithmException {
  /libcore/luni/src/main/java/javax/net/ssl/
KeyManagerFactory.java 22 import java.security.KeyStoreException;
188 * @throws KeyStoreException
195 public final void init(KeyStore ks, char[] password) throws KeyStoreException,
TrustManagerFactory.java 22 import java.security.KeyStoreException;
187 * @throws KeyStoreException
190 public final void init(KeyStore ks) throws KeyStoreException {
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
MyKeyStore.java 30 import java.security.KeyStoreException;
92 Certificate[] chain) throws KeyStoreException {
104 throws KeyStoreException {
106 throw new KeyStoreException("Not Supported for null key");
125 throws KeyStoreException {
130 public void engineDeleteEntry(String alias) throws KeyStoreException {
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/
TrustAnchor_ImplTest.java 25 import java.security.KeyStoreException;
60 throws KeyStoreException {
92 throws KeyStoreException {
111 throws KeyStoreException {
139 throws KeyStoreException {
160 throws KeyStoreException {
270 throws KeyStoreException {
291 throws KeyStoreException {
318 throws KeyStoreException {
360 * @throws KeyStoreException
    [all...]
  /cts/tests/tests/security/src/android/security/cts/
CertificateTest.java 25 import java.security.KeyStoreException;
62 private Set<String> getDeviceCertificates() throws KeyStoreException,

Completed in 1190 milliseconds

12 3 4