Searched refs:generateRecoveryKey (Results 1 – 3 of 3) sorted by relevance
91 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()
290 recoveryKey = generateRecoveryKey(); in syncKeysForAgent()523 private static SecretKey generateRecoveryKey() throws NoSuchAlgorithmException { in generateRecoveryKey() method in KeySyncTask
140 public static SecretKey generateRecoveryKey() throws NoSuchAlgorithmException { in generateRecoveryKey() method in KeySyncUtils