Searched refs:KeyStoreException (Results 1 - 24 of 24) sorted by relevance

/frameworks/base/keystore/java/android/security/
H A DKeyStoreException.java25 public class KeyStoreException extends Exception { class in inherits:Exception
29 public KeyStoreException(int errorCode, String message) { method in class:KeyStoreException
H A DKeyStore.java662 * Returns a {@link KeyStoreException} corresponding to the provided keystore/keymaster error
665 public static KeyStoreException getKeyStoreException(int errorCode) {
670 return new KeyStoreException(errorCode, "OK");
672 return new KeyStoreException(errorCode, "User authentication required");
674 return new KeyStoreException(errorCode, "Keystore not initialized");
676 return new KeyStoreException(errorCode, "System error");
678 return new KeyStoreException(errorCode, "Permission denied");
680 return new KeyStoreException(errorCode, "Key not found");
682 return new KeyStoreException(errorCode, "Key blob corrupted");
684 return new KeyStoreException(errorCod
[all...]
/frameworks/base/keystore/java/android/security/keystore/
H A DKeyStoreCryptoOperationStreamer.java20 import android.security.KeyStoreException;
37 byte[] update(byte[] input, int inputOffset, int inputLength) throws KeyStoreException;
39 byte[] additionalEntropy) throws KeyStoreException;
H A DAndroidKeyStoreSpi.java40 import java.security.KeyStoreException;
273 throws KeyStoreException {
275 throw new KeyStoreException("entries cannot be protected with passwords");
283 throw new KeyStoreException("Only PrivateKey and SecretKey are supported");
288 throws KeyStoreException {
333 throw new KeyStoreException("Unsupported key algorithm: " + keyAlgorithm);
341 java.security.KeyStore.ProtectionParameter param) throws KeyStoreException {
358 throw new KeyStoreException(
366 throw new KeyStoreException("Must supply at least one Certificate with PrivateKey");
373 throw new KeyStoreException("Certificate
[all...]
H A DKeyStoreCryptoOperationChunkedStreamer.java21 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,
H A DAndroidKeyStoreECDSASignatureSpi.java22 import android.security.KeyStoreException;
74 throws KeyStoreException {
84 byte[] additionalEntropy) throws KeyStoreException {
H A DAndroidKeyStoreHmacSpi.java21 import android.security.KeyStoreException;
218 } catch (KeyStoreException e) {
241 } catch (KeyStoreException e) {
H A DAndroidKeyStoreSignatureSpiBase.java23 import android.security.KeyStoreException;
272 } catch (KeyStoreException e) {
332 } catch (InvalidKeyException | KeyStoreException e) {
365 } catch (KeyStoreException e) {
H A DAndroidKeyStoreAuthenticatedAESCipherSpi.java23 import android.security.KeyStoreException;
358 throws KeyStoreException {
372 byte[] signature, byte[] additionalEntropy) throws KeyStoreException {
H A DAndroidKeyStoreProvider.java28 import java.security.KeyStoreException;
324 throws KeyStoreException, NoSuchProviderException {
330 throw new KeyStoreException(
H A DAndroidKeyStoreCipherSpiBase.java24 import android.security.KeyStoreException;
339 } catch (KeyStoreException e) {
351 private void flushAAD() throws KeyStoreException {
449 } catch (KeyStoreException e) {
510 } catch (KeyStoreException e) {
H A DAttestationUtils.java27 import android.security.KeyStoreException;
/frameworks/base/core/java/android/security/net/config/
H A DKeyStoreConfigSource.java21 import java.security.KeyStoreException;
H A DRootTrustManagerFactorySpi.java23 import java.security.KeyStoreException;
52 public void engineInit(KeyStore ks) throws KeyStoreException {
H A DKeyStoreCertificateSource.java21 import java.security.KeyStoreException;
69 } catch (KeyStoreException e) {
/frameworks/base/core/java/org/apache/http/conn/ssl/
H A DSSLSocketFactory.java53 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 {
/frameworks/base/services/core/java/com/android/server/locksettings/
H A DSyntheticPasswordCrypto.java27 import java.security.KeyStoreException;
139 | KeyStoreException | NoSuchPaddingException | NoSuchAlgorithmException
171 | KeyStoreException | NoSuchPaddingException | NoSuchAlgorithmException
184 } catch (KeyStoreException | NoSuchAlgorithmException | CertificateException
H A DLockSettingsService.java112 import java.security.KeyStoreException;
739 } catch (KeyStoreException | NoSuchAlgorithmException |
1029 throws KeyStoreException, UnrecoverableKeyException,
1061 } catch (UnrecoverableKeyException | InvalidKeyException | KeyStoreException
1147 } catch (KeyStoreException | UnrecoverableKeyException | NoSuchAlgorithmException
1274 } catch (UnrecoverableKeyException | InvalidKeyException | KeyStoreException
1367 | IOException | BadPaddingException | IllegalBlockSizeException | KeyStoreException
1499 } catch (UnrecoverableKeyException | InvalidKeyException | KeyStoreException
1624 } catch (UnrecoverableKeyException | InvalidKeyException | KeyStoreException
1859 } catch (KeyStoreException | NoSuchAlgorithmExceptio
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DClientKeyManager.java12 import java.security.KeyStoreException;
91 } catch (KeyStoreException kse) {
H A DWiFiKeyManager.java9 import java.security.KeyStoreException;
157 } catch (KeyStoreException kse) {
H A DOSUSocketFactory.java19 import java.security.KeyStoreException;
292 throws KeyStoreException {
300 public static Set<X509Certificate> getRootCerts(KeyStore keyStore) throws KeyStoreException {
/frameworks/base/packages/Osu/src/com/android/hotspot2/flow/
H A DPlatformAdapter.java39 import java.security.KeyStoreException;
418 } catch (KeyStoreException kse) {
/frameworks/base/config/
H A Dpreloaded-classes3716 java.security.KeyStoreException
H A Dcompiled-classes-phone7065 java.security.KeyStoreException

Completed in 401 milliseconds