Home
last modified time | relevance | path

Searched refs:encryptedKeys (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DKeySyncUtilsTest.java127 Map<String, byte[]> encryptedKeys = in decryptApplicationKey_decryptsAnApplicationKey_nullMetadata() local
131 byte[] encryptedKey = encryptedKeys.get(alias); in decryptApplicationKey_decryptsAnApplicationKey_nullMetadata()
144 Map<String, byte[]> encryptedKeys = in decryptApplicationKey_decryptsAnApplicationKey_nonNullMetadata() local
148 byte[] encryptedKey = encryptedKeys.get(alias); in decryptApplicationKey_decryptsAnApplicationKey_nonNullMetadata()
159 Map<String, byte[]> encryptedKeys = in decryptApplicationKey_throwsIfUnableToDecrypt() local
164 byte[] encryptedKey = encryptedKeys.get(alias); in decryptApplicationKey_throwsIfUnableToDecrypt()
182 Map<String, byte[]> encryptedKeys = in decryptApplicationKey_throwsIfWrongMetadata() local
195 encryptedKeys.get(alias1), NON_NULL_METADATA); in decryptApplicationKey_throwsIfWrongMetadata()
202 encryptedKeys.get(alias2), NULL_METADATA); in decryptApplicationKey_throwsIfWrongMetadata()
209 encryptedKeys.get(alias3), "different".getBytes(StandardCharsets.UTF_8)); in decryptApplicationKey_throwsIfWrongMetadata()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DKeySyncUtils.java162 HashMap<String, byte[]> encryptedKeys = new HashMap<>(); in encryptKeysWithRecoveryKey() local
183 encryptedKeys.put(alias, encryptedKey); in encryptKeysWithRecoveryKey()
185 return encryptedKeys; in encryptKeysWithRecoveryKey()