/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | SyntheticPasswordCrypto.java | 126 public static byte[] decryptBlobV1(String keyAlias, byte[] blob, byte[] applicationId) { in decryptBlobV1() argument 131 SecretKey decryptionKey = (SecretKey) keyStore.getKey(keyAlias, null); in decryptBlobV1() 133 throw new IllegalStateException("SP key is missing: " + keyAlias); in decryptBlobV1() 143 public static byte[] decryptBlob(String keyAlias, byte[] blob, byte[] applicationId) { in decryptBlob() argument 148 SecretKey decryptionKey = (SecretKey) keyStore.getKey(keyAlias, null); in decryptBlob() 150 throw new IllegalStateException("SP key is missing: " + keyAlias); in decryptBlob() 164 public static byte[] createBlob(String keyAlias, byte[] data, byte[] applicationId, long sid) { in createBlob() argument 181 keyStore.setEntry(keyAlias, in createBlob() 196 public static void destroyBlobKey(String keyAlias) { in destroyBlobKey() argument 201 keyStore.deleteEntry(keyAlias); in destroyBlobKey() [all …]
|
D | SyntheticPasswordManager.java | 1328 protected void destroySPBlobKey(String keyAlias) { in destroySPBlobKey() argument 1329 SyntheticPasswordCrypto.destroyBlobKey(keyAlias); in destroySPBlobKey()
|
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/testing/fakes/ |
D | FakeCryptoBackupServer.java | 59 String keyAlias, Map<String, WrappedKeyProto.WrappedKey> tertiaryKeys) { in setActiveSecondaryKeyAlias() argument 60 mActiveSecondaryKeyAlias = keyAlias; in setActiveSecondaryKeyAlias() 62 mWrappedKeyStore.putIfAbsent(keyAlias, new HashMap<>()); in setActiveSecondaryKeyAlias() 63 Map<String, WrappedKeyProto.WrappedKey> keyStore = mWrappedKeyStore.get(keyAlias); in setActiveSecondaryKeyAlias()
|
D | FakeCryptoBackupServerTest.java | 59 String keyAlias = "test"; in setActiveSecondaryKeyAlias_setsTheKeyAlias() local 60 mServer.setActiveSecondaryKeyAlias(keyAlias, Collections.emptyMap()); in setActiveSecondaryKeyAlias_setsTheKeyAlias() 61 assertThat(mServer.getActiveSecondaryKeyAlias().get()).isEqualTo(keyAlias); in setActiveSecondaryKeyAlias_setsTheKeyAlias()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiConfigStoreEncryptionUtil.java | 142 private SecretKey getOrCreateSecretKey(String keyAlias) { in getOrCreateSecretKey() argument 146 if (keyStore.containsAlias(keyAlias)) { // The key exists in key store. Get the key. in getOrCreateSecretKey() 148 .getEntry(keyAlias, null); in getOrCreateSecretKey() 160 KeyGenParameterSpec keyGenParameterSpec = new KeyGenParameterSpec.Builder(keyAlias, in getOrCreateSecretKey()
|
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/ |
D | EncryptionKeyHelper.java | 62 String keyAlias = CryptoSettings.getInstance(mContext).getActiveSecondaryKeyAlias().get(); in getActiveSecondaryKey() local 63 return mSecondaryKeyManagerProvider.get().get(keyAlias).get(); in getActiveSecondaryKey()
|
D | KeyValueEncrypter.java | 116 String keyAlias, Map<String, WrappedKeyProto.WrappedKey> tertiaryKeys) { in setActiveSecondaryKeyAlias() argument
|
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/client/ |
D | CryptoBackupServer.java | 66 String keyAlias, Map<String, WrappedKeyProto.WrappedKey> tertiaryKeys); in setActiveSecondaryKeyAlias() argument
|
/frameworks/base/packages/BackupEncryption/test/robolectric-integration/src/com/android/server/backup/encryption/ |
D | RoundTripTest.java | 296 String keyAlias, Map<String, WrappedKeyProto.WrappedKey> tertiaryKeys) { in setActiveSecondaryKeyAlias() argument 297 mSecondaryKeyAlias = keyAlias; in setActiveSecondaryKeyAlias()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | MockSyntheticPasswordManager.java | 89 protected void destroySPBlobKey(String keyAlias) { in destroySPBlobKey() argument
|
/frameworks/base/packages/SystemUI/docs/ |
D | plugins.md | 164 keyAlias 'platform'
|