/frameworks/base/keystore/java/android/security/ |
D | KeyStore2.java | 105 throws KeyStoreException { in handleRemoteExceptionWithRetry() 124 throw new KeyStoreException(ResponseCode.SYSTEM_ERROR, "", e.getMessage()); in handleRemoteExceptionWithRetry() 162 void delete(KeyDescriptor descriptor) throws KeyStoreException { in delete() 174 public KeyDescriptor[] list(int domain, long namespace) throws KeyStoreException { in list() 184 throws KeyStoreException { in listBatch() 248 throws KeyStoreException { in grant() 265 throws KeyStoreException { in ungrant() 283 throws KeyStoreException { in getKeyEntry() 298 throws KeyStoreException { in getSecurityLevel() 316 byte[] publicCertChain) throws KeyStoreException { in updateSubcomponents() [all …]
|
D | KeyStoreOperation.java | 68 throws KeyStoreException { in handleExceptions() 89 throw new KeyStoreException(KeymasterDefs.KM_ERROR_INVALID_OPERATION_HANDLE, "", in handleExceptions() 100 public void updateAad(@NonNull byte[] input) throws KeyStoreException { in updateAad() 116 public byte[] update(@NonNull byte[] input) throws KeyStoreException { in update() 130 public byte[] finish(byte[] input, byte[] signature) throws KeyStoreException { in finish() 141 public void abort() throws KeyStoreException { in abort()
|
D | AndroidKeyStoreMaintenance.java | 220 throws KeyStoreException { in getAllAppUidsAffectedBySid() 225 throw new KeyStoreException(SYSTEM_ERROR, in getAllAppUidsAffectedBySid() 228 throw new KeyStoreException(e.errorCode, in getAllAppUidsAffectedBySid() 240 public static void deleteAllKeys() throws KeyStoreException { in deleteAllKeys() 245 throw new KeyStoreException(SYSTEM_ERROR, in deleteAllKeys() 248 throw new KeyStoreException(e.errorCode, in deleteAllKeys()
|
D | KeyStoreSecurityLevel.java | 54 private <R> R handleExceptions(CheckedRemoteRequest<R> request) throws KeyStoreException { in handleExceptions() 63 throw new KeyStoreException(ResponseCode.SYSTEM_ERROR, "", e.getMessage()); in handleExceptions() 78 Collection<KeyParameter> args) throws KeyStoreException { in createOperation() 146 throws KeyStoreException { in generateKey() 169 throws KeyStoreException { in importKey() 194 throws KeyStoreException { in importWrappedKey()
|
/frameworks/base/keystore/java/android/security/keystore2/ |
D | AndroidKeyStoreSpi.java | 62 import java.security.KeyStoreException; 130 if (cause instanceof android.security.KeyStoreException) { in engineGetKey() 131 if (((android.security.KeyStoreException) cause).getErrorCode() in engineGetKey() 171 } catch (android.security.KeyStoreException e) { in getKeyMetadata() 285 throws KeyStoreException { in engineSetKeyEntry() 287 throw new KeyStoreException("entries cannot be protected with passwords"); in engineSetKeyEntry() 295 throw new KeyStoreException("Only PrivateKey and SecretKey are supported"); in engineSetKeyEntry() 300 throws KeyStoreException { in getLegacyKeyProtectionParameter() 345 throw new KeyStoreException("Unsupported key algorithm: " + keyAlgorithm); in getLegacyKeyProtectionParameter() 353 java.security.KeyStore.ProtectionParameter param) throws KeyStoreException { in setPrivateKeyEntry() [all …]
|
D | KeyStoreCryptoOperationChunkedStreamer.java | 20 import android.security.KeyStoreException; 64 byte[] update(@NonNull byte[] input) throws KeyStoreException; in update() 79 byte[] finish(byte[] input, byte[] signature) throws KeyStoreException; in finish() 123 public byte[] update(byte[] input, int inputOffset, int inputLength) throws KeyStoreException { in update() 129 throw new KeyStoreException(KeymasterDefs.KM_ERROR_UNKNOWN_ERROR, in update() 178 byte[] signature) throws KeyStoreException { in doFinal() 221 public byte[] update(byte[] input) throws KeyStoreException { in update() 227 throws KeyStoreException { in finish()
|
D | KeyStoreCryptoOperationStreamer.java | 19 import android.security.KeyStoreException; 36 byte[] update(byte[] input, int inputOffset, int inputLength) throws KeyStoreException; in update() 38 throws KeyStoreException; in doFinal()
|
D | KeyStoreCryptoOperationUtils.java | 23 import android.security.KeyStoreException; 111 AndroidKeyStoreKey key, KeyStoreException e) { in getInvalidKeyException() 136 AndroidKeyStoreKey key, KeyStoreException e) { in getExceptionForCipherInit() 180 } catch (KeyStoreException e) { in abortOperation()
|
D | AndroidKeyStoreHmacSpi.java | 20 import android.security.KeyStoreException; 183 } catch (KeyStoreException keyStoreException) { in ensureKeystoreOperationInitialized() 219 } catch (KeyStoreException e) { in engineUpdate() 240 } catch (KeyStoreException e) { in engineDoFinal()
|
D | AndroidKeyStoreSignatureSpiBase.java | 22 import android.security.KeyStoreException; 216 } catch (KeyStoreException keyStoreException) { in ensureKeystoreOperationInitialized() 272 } catch (KeyStoreException e) { in engineUpdate() 331 } catch (InvalidKeyException | KeyStoreException e) { in engineSign()
|
D | AndroidKeyStoreECDSASignatureSpi.java | 21 import android.security.KeyStoreException; 87 throws KeyStoreException { in update() 97 throws KeyStoreException { in doFinal()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | KeyStoreProxyImpl.java | 22 import java.security.KeyStoreException; 44 public boolean containsAlias(String alias) throws KeyStoreException { in containsAlias() 50 throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException { in getKey() 56 throws KeyStoreException { in setEntry() 61 public void deleteEntry(String alias) throws KeyStoreException { in deleteEntry() 71 public static KeyStore getAndLoadAndroidKeyStore() throws KeyStoreException { in getAndLoadAndroidKeyStore() 77 throw new KeyStoreException("Unable to load keystore.", e); in getAndLoadAndroidKeyStore()
|
D | KeyStoreProxy.java | 21 import java.security.KeyStoreException; 34 boolean containsAlias(String alias) throws KeyStoreException; in containsAlias() 38 throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException; in getKey() 42 throws KeyStoreException; in setEntry() 45 void deleteEntry(String alias) throws KeyStoreException; in deleteEntry()
|
D | PlatformKeyManager.java | 37 import java.security.KeyStoreException; 99 throws KeyStoreException, NoSuchAlgorithmException { in getInstance() 155 } catch (KeyStoreException e) { in invalidatePlatformKey() 177 throws NoSuchAlgorithmException, KeyStoreException, IOException, in regenerate() 205 throws KeyStoreException, UnrecoverableKeyException, NoSuchAlgorithmException, in getEncryptKey() 232 private PlatformEncryptionKey getEncryptKeyInternal(int userId) throws KeyStoreException, in getEncryptKeyInternal() 258 throws KeyStoreException, UnrecoverableKeyException, NoSuchAlgorithmException, in getDecryptKey() 284 private PlatformDecryptionKey getDecryptKeyInternal(int userId) throws KeyStoreException, in getDecryptKeyInternal() 332 throws KeyStoreException, NoSuchAlgorithmException, IOException, in init() 398 private boolean isKeyLoaded(int userId, int generationId) throws KeyStoreException { in isKeyLoaded() [all …]
|
D | WrappedKey.java | 26 import java.security.KeyStoreException; 66 throws InvalidKeyException, KeyStoreException { in fromSecretKey() 86 if (cause instanceof KeyStoreException) { in fromSecretKey() 92 throw (KeyStoreException) cause; in fromSecretKey()
|
D | RecoverableKeyGenerator.java | 26 import java.security.KeyStoreException; 100 throws RecoverableKeyStorageException, KeyStoreException, InvalidKeyException { in generateAndStoreKey() 145 throws RecoverableKeyStorageException, KeyStoreException, InvalidKeyException { in importKey()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/ |
D | ApplicationKeyStorage.java | 37 import java.security.KeyStoreException; 61 throws KeyStoreException { in getInstance() 81 throws KeyStoreException { in setSymmetricKeyEntry() 94 } catch (KeyStoreException e) { in setSymmetricKeyEntry() 103 } catch (KeyStoreException e) { in deleteEntry() 138 } catch (android.security.KeyStoreException e) { in makeKeystoreEngineGrantString() 140 == android.security.KeyStoreException.ERROR_KEY_DOES_NOT_EXIST) { in makeKeystoreEngineGrantString()
|
/frameworks/base/keystore/tests/src/android/security/keystore/ |
D | KeyStoreExceptionTest.java | 21 import android.security.KeyStoreException; 34 KeyStoreException exception = new KeyStoreException(-1, primaryMessage, keystoreMessage); in testKeystoreMessageIsIncluded()
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStoreProvider.java | 25 import java.security.KeyStoreException; 88 throws KeyStoreException, NoSuchProviderException { in getKeyStoreForUid() 96 throw new KeyStoreException( in getKeyStoreForUid()
|
D | SecureKeyImportUnavailableException.java | 19 import android.security.KeyStoreException; 34 super(message, new KeyStoreException(KeymasterDefs.KM_ERROR_HARDWARE_TYPE_UNAVAILABLE, in SecureKeyImportUnavailableException()
|
D | StrongBoxUnavailableException.java | 19 import android.security.KeyStoreException; 36 new KeyStoreException(KeymasterDefs.KM_ERROR_HARDWARE_TYPE_UNAVAILABLE, in StrongBoxUnavailableException()
|
/frameworks/base/core/java/org/apache/http/conn/ssl/ |
D | SSLSocketFactory.java | 49 import java.security.KeyStoreException; 197 …throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyExcept… in SSLSocketFactory() 221 …throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyExcept… in SSLSocketFactory() 227 …throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyExcept… in SSLSocketFactory() 233 …throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyExcept… in SSLSocketFactory() 267 throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException { in createKeyManagers() 279 throws KeyStoreException, NoSuchAlgorithmException { in createTrustManagers()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | SyntheticPasswordCrypto.java | 34 import java.security.KeyStoreException; 159 throws KeyStoreException, CertificateException, NoSuchAlgorithmException, IOException { in getKeyStore() 182 | KeyStoreException | NoSuchPaddingException | NoSuchAlgorithmException in decryptBlob() 224 } catch (KeyStoreException e) { in createBlob() 234 | KeyStoreException | NoSuchPaddingException | NoSuchAlgorithmException in createBlob() 248 } catch (KeyStoreException | NoSuchAlgorithmException | CertificateException in destroyProtectorKey()
|
/frameworks/base/core/java/android/security/net/config/ |
D | RootTrustManagerFactorySpi.java | 23 import java.security.KeyStoreException; 52 public void engineInit(KeyStore ks) throws KeyStoreException { in engineInit()
|
/frameworks/base/services/companion/java/com/android/server/companion/securechannel/ |
D | KeyStoreUtils.java | 32 import java.security.KeyStoreException; 57 throw new KeyStoreException("Failed to load Android Keystore.", e); in loadKeyStore()
|