Home
last modified time | relevance | path

Searched refs:generateRecoveryKey (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DKeySyncUtilsTest.java91 SecretKey key = KeySyncUtils.generateRecoveryKey(); in generateRecoveryKey_returnsA256BitKey()
98 SecretKey a = KeySyncUtils.generateRecoveryKey(); in generateRecoveryKey_generatesANewKeyEachTime()
99 SecretKey b = KeySyncUtils.generateRecoveryKey(); in generateRecoveryKey_generatesANewKeyEachTime()
133 SecretKey recoveryKey = KeySyncUtils.generateRecoveryKey(); in decryptApplicationKey_decryptsAnApplicationKey_nullMetadata()
150 SecretKey recoveryKey = KeySyncUtils.generateRecoveryKey(); in decryptApplicationKey_decryptsAnApplicationKey_nonNullMetadata()
169 KeySyncUtils.generateRecoveryKey(), in decryptApplicationKey_throwsIfUnableToDecrypt()
175 KeySyncUtils.decryptApplicationKey(KeySyncUtils.generateRecoveryKey().getEncoded(), in decryptApplicationKey_throwsIfUnableToDecrypt()
188 SecretKey recoveryKey = KeySyncUtils.generateRecoveryKey(); in decryptApplicationKey_throwsIfWrongMetadata()
226 SecretKey recoveryKey = KeySyncUtils.generateRecoveryKey(); in decryptRecoveryKey_decryptsALocallyEncryptedKey()
237 SecretKey recoveryKey = KeySyncUtils.generateRecoveryKey(); in decryptRecoveryKey_throwsIfCannotDecrypt()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DKeySyncTask.java290 recoveryKey = generateRecoveryKey(); in syncKeysForAgent()
523 private static SecretKey generateRecoveryKey() throws NoSuchAlgorithmException { in generateRecoveryKey() method in KeySyncTask
DKeySyncUtils.java140 public static SecretKey generateRecoveryKey() throws NoSuchAlgorithmException { in generateRecoveryKey() method in KeySyncUtils