/frameworks/base/keystore/java/android/security/ |
D | KeyStore2.java | 104 throws KeyStoreException { in handleRemoteExceptionWithRetry() 123 throw new KeyStoreException(ResponseCode.SYSTEM_ERROR, ""); in handleRemoteExceptionWithRetry() 149 void delete(KeyDescriptor descriptor) throws KeyStoreException { in delete() 159 public KeyDescriptor[] list(int domain, long namespace) throws KeyStoreException { in list() 220 throws KeyStoreException { in grant() 235 throws KeyStoreException { in ungrant() 251 throws KeyStoreException { in getKeyEntry() 264 throws KeyStoreException { in getSecurityLevel() 282 byte[] publicCertChain) throws KeyStoreException { in updateSubcomponents() 297 throws KeyStoreException { in deleteKey() [all …]
|
D | KeyStoreOperation.java | 67 throws KeyStoreException { in handleExceptions() 88 throw new KeyStoreException(KeymasterDefs.KM_ERROR_INVALID_OPERATION_HANDLE, ""); in handleExceptions() 98 public void updateAad(@NonNull byte[] input) throws KeyStoreException { in updateAad() 113 public byte[] update(@NonNull byte[] input) throws KeyStoreException { in update() 126 public byte[] finish(byte[] input, byte[] signature) throws KeyStoreException { in finish() 136 public void abort() throws KeyStoreException { in abort()
|
D | KeyStoreSecurityLevel.java | 53 private <R> R handleExceptions(CheckedRemoteRequest<R> request) throws KeyStoreException { in handleExceptions() 62 throw new KeyStoreException(ResponseCode.SYSTEM_ERROR, ""); in handleExceptions() 77 Collection<KeyParameter> args) throws KeyStoreException { in createOperation() 144 throws KeyStoreException { in generateKey() 165 throws KeyStoreException { in importKey() 188 throws KeyStoreException { in importWrappedKey()
|
D | KeyStoreException.java | 28 public class KeyStoreException extends Exception { class 32 public KeyStoreException(int errorCode, String message) { in KeyStoreException() method in KeyStoreException
|
/frameworks/base/keystore/java/android/security/keystore2/ |
D | AndroidKeyStoreSpi.java | 56 import java.security.KeyStoreException; 117 if (cause instanceof android.security.KeyStoreException) { in engineGetKey() 118 if (((android.security.KeyStoreException) cause).getErrorCode() in engineGetKey() 157 } catch (android.security.KeyStoreException e) { in getKeyMetadata() 262 throws KeyStoreException { in engineSetKeyEntry() 264 throw new KeyStoreException("entries cannot be protected with passwords"); in engineSetKeyEntry() 272 throw new KeyStoreException("Only PrivateKey and SecretKey are supported"); in engineSetKeyEntry() 277 throws KeyStoreException { in getLegacyKeyProtectionParameter() 322 throw new KeyStoreException("Unsupported key algorithm: " + keyAlgorithm); in getLegacyKeyProtectionParameter() 330 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 | 20 import android.security.KeyStoreException; 37 byte[] update(byte[] input, int inputOffset, int inputLength) throws KeyStoreException; in update() 39 throws KeyStoreException; in doFinal()
|
D | KeyStoreCryptoOperationUtils.java | 24 import android.security.KeyStoreException; 114 AndroidKeyStoreKey key, KeyStoreException e) { in getInvalidKeyException() 140 AndroidKeyStoreKey key, KeyStoreException e) { in getExceptionForCipherInit() 188 } 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 | AndroidKeyStoreECDSASignatureSpi.java | 21 import android.security.KeyStoreException; 80 throws KeyStoreException { in update() 90 throws KeyStoreException { in doFinal()
|
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 | AndroidKeyStoreKeyAgreementSpi.java | 23 import android.security.KeyStoreException; 153 } catch (KeyStoreException e) { in engineGenerateSecret() 225 } catch (KeyStoreException keyStoreException) { in ensureKeystoreOperationInitialized()
|
/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; 100 throws KeyStoreException, NoSuchAlgorithmException { in getInstance() 156 } 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 | 36 import java.security.KeyStoreException; 60 throws KeyStoreException { in getInstance() 80 throws KeyStoreException { in setSymmetricKeyEntry() 93 } catch (KeyStoreException e) { in setSymmetricKeyEntry() 102 } catch (KeyStoreException e) { in deleteEntry() 137 } catch (android.security.KeyStoreException e) { in makeKeystoreEngineGrantString()
|
/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/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 | StrongBoxUnavailableException.java | 19 import android.security.KeyStoreException; 36 new KeyStoreException(KeymasterDefs.KM_ERROR_HARDWARE_TYPE_UNAVAILABLE, in StrongBoxUnavailableException()
|
D | SecureKeyImportUnavailableException.java | 19 import android.security.KeyStoreException; 34 super(message, new KeyStoreException(KeymasterDefs.KM_ERROR_HARDWARE_TYPE_UNAVAILABLE, in SecureKeyImportUnavailableException()
|
/frameworks/base/keystore/tests/src/android/security/keystore2/ |
D | AndroidKeyStoreSpiTest.java | 26 import android.security.KeyStoreException; 46 .thenThrow(new KeyStoreException(6, "Some Error")); in testEngineAliasesReturnsEmptySetOnKeyStoreError()
|
/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/core/java/com/android/server/locksettings/ |
D | SyntheticPasswordCrypto.java | 32 import java.security.KeyStoreException; 154 throws KeyStoreException, CertificateException, NoSuchAlgorithmException, IOException { in getKeyStore() 172 | KeyStoreException | NoSuchPaddingException | NoSuchAlgorithmException in decryptBlob() 203 | KeyStoreException | NoSuchPaddingException | NoSuchAlgorithmException in createBlob() 217 } catch (KeyStoreException | NoSuchAlgorithmException | CertificateException in destroyBlobKey()
|