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.java135 Map<String, byte[]> encryptedKeys = in decryptApplicationKey_decryptsAnApplicationKey_nullMetadata() local
139 byte[] encryptedKey = encryptedKeys.get(alias); in decryptApplicationKey_decryptsAnApplicationKey_nullMetadata()
152 Map<String, byte[]> encryptedKeys = in decryptApplicationKey_decryptsAnApplicationKey_nonNullMetadata() local
156 byte[] encryptedKey = encryptedKeys.get(alias); in decryptApplicationKey_decryptsAnApplicationKey_nonNullMetadata()
167 Map<String, byte[]> encryptedKeys = in decryptApplicationKey_throwsIfUnableToDecrypt() local
172 byte[] encryptedKey = encryptedKeys.get(alias); in decryptApplicationKey_throwsIfUnableToDecrypt()
190 Map<String, byte[]> encryptedKeys = in decryptApplicationKey_throwsIfWrongMetadata() local
203 encryptedKeys.get(alias1), NON_NULL_METADATA); in decryptApplicationKey_throwsIfWrongMetadata()
210 encryptedKeys.get(alias2), NULL_METADATA); in decryptApplicationKey_throwsIfWrongMetadata()
217 encryptedKeys.get(alias3), "different".getBytes(StandardCharsets.UTF_8)); in decryptApplicationKey_throwsIfWrongMetadata()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DKeySyncUtils.java160 HashMap<String, byte[]> encryptedKeys = new HashMap<>(); in encryptKeysWithRecoveryKey() local
181 encryptedKeys.put(alias, encryptedKey); in encryptKeysWithRecoveryKey()
183 return encryptedKeys; in encryptKeysWithRecoveryKey()