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

12 3 4 5 6 7 8 91011>>

  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyStoreSpiTest.java 28 import java.security.KeyStoreException;
90 UnrecoverableEntryException, KeyStoreException {
94 Certificate[] chain) throws KeyStoreException { keyEntryWasSet[0] = true; }
117 fail("KeyStoreException or NullPointerException must be thrown");
118 } catch (KeyStoreException expected) {
125 fail("KeyStoreException must be thrown");
126 } catch (KeyStoreException expected) {
131 fail("KeyStoreException must be thrown");
132 } catch (KeyStoreException expected) {
156 fail("KeyStoreException must be thrown from engineSetKeyEntry(..)")
    [all...]
KeyStore3Test.java 32 import java.security.KeyStoreException;
59 fail("should throw KeyStoreException: not initialized");
60 } catch (KeyStoreException e) {
190 public void engineDeleteEntry(String arg0) throws KeyStoreException {
229 throws KeyStoreException {
234 Certificate[] arg2) throws KeyStoreException {
239 Certificate[] arg3) throws KeyStoreException {
  /tools/tradefederation/core/tests/src/com/android/tradefed/util/keystore/
JSONFileKeyStoreClientTest.java 43 } catch (KeyStoreException e) {
54 } catch(KeyStoreException expected) {
67 } catch(KeyStoreException expected) {
  /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 {
  /frameworks/base/core/java/android/security/net/config/
KeyStoreConfigSource.java 21 import java.security.KeyStoreException;
RootTrustManagerFactorySpi.java 23 import java.security.KeyStoreException;
52 public void engineInit(KeyStore ks) throws KeyStoreException {
KeyStoreCertificateSource.java 21 import java.security.KeyStoreException;
69 } catch (KeyStoreException e) {
  /frameworks/base/keystore/java/android/security/keystore/
KeyStoreCryptoOperationChunkedStreamer.java 21 import android.security.KeyStoreException;
91 public byte[] update(byte[] input, int inputOffset, int inputLength) throws KeyStoreException {
146 throw new KeyStoreException(KeymasterDefs.KM_ERROR_UNKNOWN_ERROR,
159 throw new KeyStoreException(KeymasterDefs.KM_ERROR_UNKNOWN_ERROR,
209 byte[] signature, byte[] additionalEntropy) throws KeyStoreException {
231 public byte[] flush() throws KeyStoreException {
266 throw new KeyStoreException(KeymasterDefs.KM_ERROR_UNKNOWN_ERROR,
294 throw new KeyStoreException(KeymasterDefs.KM_ERROR_INVALID_INPUT_LENGTH,
AndroidKeyStoreECDSASignatureSpi.java 22 import android.security.KeyStoreException;
74 throws KeyStoreException {
84 byte[] additionalEntropy) throws KeyStoreException {
AndroidKeyStoreHmacSpi.java 21 import android.security.KeyStoreException;
218 } catch (KeyStoreException e) {
241 } catch (KeyStoreException e) {
  /libcore/ojluni/src/main/java/java/security/
KeyStoreSpi.java 144 * @exception KeyStoreException if the given key cannot be protected, or
150 throws KeyStoreException;
171 * @exception KeyStoreException if this operation fails.
175 throws KeyStoreException;
190 * @exception KeyStoreException if the given alias already exists and does
196 throws KeyStoreException;
203 * @exception KeyStoreException if the entry cannot be removed.
206 throws KeyStoreException;
433 * @exception KeyStoreException if the operation failed
447 throws KeyStoreException, NoSuchAlgorithmException
    [all...]
  /tools/tradefederation/core/src/com/android/tradefed/util/keystore/
JSONFileKeyStoreFactory.java 47 public IKeyStoreClient createKeyStoreClient() throws KeyStoreException {
63 private void createKeyStoreInternal() throws KeyStoreException {
  /frameworks/base/core/java/org/apache/http/conn/ssl/
SSLSocketFactory.java 53 import java.security.KeyStoreException;
189 throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException
213 throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException
219 throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException
225 throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException
256 throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException {
267 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 {
  /developers/build/prebuilts/gradle/AsymmetricFingerprintDialog/Application/src/main/java/com/example/android/asymmetricfingerprintdialog/
FingerprintModule.java 32 import java.security.KeyStoreException;
74 } catch (KeyStoreException e) {
  /developers/samples/android/security/AsymmetricFingerprintDialog/Application/src/main/java/com/example/android/asymmetricfingerprintdialog/
FingerprintModule.java 32 import java.security.KeyStoreException;
74 } catch (KeyStoreException e) {
  /development/samples/browseable/AsymmetricFingerprintDialog/src/com.example.android.asymmetricfingerprintdialog/
FingerprintModule.java 32 import java.security.KeyStoreException;
74 } catch (KeyStoreException e) {
  /frameworks/base/keystore/java/android/security/
KeyStore.java 660 * Returns a {@link KeyStoreException} corresponding to the provided keystore/keymaster error
663 public static KeyStoreException getKeyStoreException(int errorCode) {
668 return new KeyStoreException(errorCode, "OK");
670 return new KeyStoreException(errorCode, "User authentication required");
672 return new KeyStoreException(errorCode, "Keystore not initialized");
674 return new KeyStoreException(errorCode, "System error");
676 return new KeyStoreException(errorCode, "Permission denied");
678 return new KeyStoreException(errorCode, "Key not found");
680 return new KeyStoreException(errorCode, "Key blob corrupted");
682 return new KeyStoreException(errorCode, "Operation requires authorization")
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
ScreenLockBoundKeysTest.java 40 import java.security.KeyStoreException;
132 | InvalidAlgorithmParameterException | KeyStoreException
167 } catch (BadPaddingException | IllegalBlockSizeException | KeyStoreException |
  /developers/build/prebuilts/gradle/ConfirmCredential/Application/src/main/java/com/example/android/confirmcredential/
MainActivity.java 37 import java.security.KeyStoreException;
126 } catch (BadPaddingException | IllegalBlockSizeException | KeyStoreException |
158 | InvalidAlgorithmParameterException | KeyStoreException
  /developers/samples/android/security/ConfirmCredential/Application/src/main/java/com/example/android/confirmcredential/
MainActivity.java 37 import java.security.KeyStoreException;
126 } catch (BadPaddingException | IllegalBlockSizeException | KeyStoreException |
158 | InvalidAlgorithmParameterException | KeyStoreException
  /development/samples/browseable/ConfirmCredential/src/com.example.android.confirmcredential/
MainActivity.java 37 import java.security.KeyStoreException;
126 } catch (BadPaddingException | IllegalBlockSizeException | KeyStoreException |
158 | InvalidAlgorithmParameterException | KeyStoreException
  /cts/tests/tests/security/src/android/security/cts/
CertificateTest.java 22 import java.security.KeyStoreException;
82 private Set<String> getDeviceCertificates() throws KeyStoreException,
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
KeyManagerFactorySpiTest.java 20 import java.security.KeyStoreException;
64 fail("KeyStoreException wasn't thrown");
65 } catch (KeyStoreException uke) {
68 fail(e + " was thrown instead of KeyStoreException");

Completed in 1105 milliseconds

12 3 4 5 6 7 8 91011>>