/aosp14/frameworks/base/keystore/java/android/security/ |
H A D | KeyStore2.java | 105 throws KeyStoreException { in handleRemoteExceptionWithRetry() 150 void delete(KeyDescriptor descriptor) throws KeyStoreException { in delete() 168 throws KeyStoreException { in listBatch() 230 throws KeyStoreException { in grant() 245 throws KeyStoreException { in ungrant() 261 throws KeyStoreException { in getKeyEntry() 274 throws KeyStoreException { in getSecurityLevel() 292 byte[] publicCertChain) throws KeyStoreException { in updateSubcomponents() 307 throws KeyStoreException { in deleteKey() 381 return new KeyStoreException(errorCode, in getKeyStoreException() [all …]
|
H A D | KeyStoreOperation.java | 67 throws KeyStoreException { in handleExceptions() 88 throw new KeyStoreException(KeymasterDefs.KM_ERROR_INVALID_OPERATION_HANDLE, "", in handleExceptions() 99 public void updateAad(@NonNull byte[] input) throws KeyStoreException { in updateAad() 114 public byte[] update(@NonNull byte[] input) throws KeyStoreException { in update() 127 public byte[] finish(byte[] input, byte[] signature) throws KeyStoreException { in finish() 137 public void abort() throws KeyStoreException { in abort()
|
H A D | KeyStoreSecurityLevel.java | 53 private <R> R handleExceptions(CheckedRemoteRequest<R> request) throws KeyStoreException { in handleExceptions() 62 throw new KeyStoreException(ResponseCode.SYSTEM_ERROR, "", e.getMessage()); 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()
|
H A D | KeyStore.java | 144 public static KeyStoreException getKeyStoreException(int errorCode) { in getKeyStoreException() 145 return new KeyStoreException(-10000, "Should not be called."); in getKeyStoreException()
|
/aosp14/frameworks/base/keystore/java/android/security/keystore2/ |
H A D | AndroidKeyStoreSpi.java | 59 import java.security.KeyStoreException; 272 throws KeyStoreException { in engineSetKeyEntry() 287 throws KeyStoreException { in getLegacyKeyProtectionParameter() 365 throw new KeyStoreException( in setPrivateKeyEntry() 461 throw new KeyStoreException( in setPrivateKeyEntry() 637 throws KeyStoreException { in assertCanReplace() 661 throws KeyStoreException { in setSecretKeyEntry() 663 throw new KeyStoreException( in setSecretKeyEntry() 689 throw new KeyStoreException( in setSecretKeyEntry() 990 throws KeyStoreException { in engineSetKeyEntry() [all …]
|
H A 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()
|
H A 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()
|
H A D | KeyStoreCryptoOperationUtils.java | 24 import android.security.KeyStoreException; 112 AndroidKeyStoreKey key, KeyStoreException e) { in getInvalidKeyException() 138 AndroidKeyStoreKey key, KeyStoreException e) { in getExceptionForCipherInit() 186 } catch (KeyStoreException e) { in abortOperation()
|
H A 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()
|
H A 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()
|
H A D | AndroidKeyStoreECDSASignatureSpi.java | 21 import android.security.KeyStoreException; 87 throws KeyStoreException { in update() 97 throws KeyStoreException { in doFinal()
|
H A D | AndroidKeyStoreKeyAgreementSpi.java | 23 import android.security.KeyStoreException; 179 } catch (KeyStoreException e) { in engineGenerateSecret() 251 } catch (KeyStoreException keyStoreException) { in ensureKeystoreOperationInitialized()
|
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
H A 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()
|
H A 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()
|
H A D | PlatformKeyManager.java | 37 import java.security.KeyStoreException; 99 throws KeyStoreException, NoSuchAlgorithmException { in getInstance() 155 } catch (KeyStoreException e) { in invalidatePlatformKey() 176 throws NoSuchAlgorithmException, KeyStoreException, IOException, in regenerate() 203 throws KeyStoreException, UnrecoverableKeyException, NoSuchAlgorithmException, in getEncryptKey() 230 private PlatformEncryptionKey getEncryptKeyInternal(int userId) throws KeyStoreException, in getEncryptKeyInternal() 256 throws KeyStoreException, UnrecoverableKeyException, NoSuchAlgorithmException, in getDecryptKey() 330 throws KeyStoreException, NoSuchAlgorithmException, IOException, in init() 396 private boolean isKeyLoaded(int userId, int generationId) throws KeyStoreException { in isKeyLoaded() 469 private static KeyStore getAndLoadAndroidKeyStore() throws KeyStoreException { in getAndLoadAndroidKeyStore() [all …]
|
H A 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()
|
H A D | RecoverableKeyGenerator.java | 26 import java.security.KeyStoreException; 100 throws RecoverableKeyStorageException, KeyStoreException, InvalidKeyException { in generateAndStoreKey() 145 throws RecoverableKeyStorageException, KeyStoreException, InvalidKeyException { in importKey()
|
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/ |
H A 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()
|
/aosp14/frameworks/base/keystore/tests/src/android/security/keystore/ |
H A D | KeyStoreExceptionTest.java | 21 import android.security.KeyStoreException; 34 KeyStoreException exception = new KeyStoreException(-1, primaryMessage, keystoreMessage); in testKeystoreMessageIsIncluded()
|
/aosp14/frameworks/base/core/java/org/apache/http/conn/ssl/ |
H A 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()
|
/aosp14/frameworks/base/keystore/java/android/security/keystore/ |
H A D | AndroidKeyStoreProvider.java | 25 import java.security.KeyStoreException; 88 throws KeyStoreException, NoSuchProviderException { in getKeyStoreForUid() 96 throw new KeyStoreException( in getKeyStoreForUid()
|
H A D | SecureKeyImportUnavailableException.java | 19 import android.security.KeyStoreException; 34 super(message, new KeyStoreException(KeymasterDefs.KM_ERROR_HARDWARE_TYPE_UNAVAILABLE, in SecureKeyImportUnavailableException()
|
H A D | StrongBoxUnavailableException.java | 19 import android.security.KeyStoreException; 36 new KeyStoreException(KeymasterDefs.KM_ERROR_HARDWARE_TYPE_UNAVAILABLE, in StrongBoxUnavailableException()
|
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/ |
H A 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()
|
/aosp14/frameworks/base/core/java/android/security/net/config/ |
H A D | RootTrustManagerFactorySpi.java | 23 import java.security.KeyStoreException; 52 public void engineInit(KeyStore ks) throws KeyStoreException { in engineInit()
|