Searched refs:SecureBox (Results 1 – 9 of 9) sorted by relevance
136 SecureBox.decodePublicKey(170 KeyPair keyPair1 = SecureBox.genKeyPair(); in genKeyPair_alwaysReturnsANewKeyPair()178 SecureBox.decrypt( in decryptRecoveryClaim()188 SecureBox.decrypt( in decryptRecoveryKey_doesNotThrowForValidAuthenticationTag()211 SecureBox.encrypt( in encryptThenDecrypt_nullPublicPrivateKeys()214 SecureBox.decrypt( in encryptThenDecrypt_nullPublicPrivateKeys()222 SecureBox.encrypt( in encryptThenDecrypt_nullSharedSecret()232 SecureBox.encrypt( in encryptThenDecrypt_nullHeader()242 SecureBox.encrypt( in encryptThenDecrypt_nullPayload()245 SecureBox.decrypt( in encryptThenDecrypt_nullPayload()[all …]
31 import com.android.security.SecureBox;278 KeyPair keyPair = SecureBox.genKeyPair(); in encryptRecoveryClaim_encryptsLockScreenAndKeyClaimant()290 byte[] decrypted = SecureBox.decrypt( in encryptRecoveryClaim_encryptsLockScreenAndKeyClaimant()300 KeyPair keyPair = SecureBox.genKeyPair(); in encryptRecoveryClaim_cannotBeDecryptedWithoutChallenge()312 SecureBox.decrypt( in encryptRecoveryClaim_cannotBeDecryptedWithoutChallenge()331 SecureBox.genKeyPair().getPublic(), in encryptRecoveryClaim_cannotBeDecryptedWithoutCorrectSecretKey()338 SecureBox.decrypt( in encryptRecoveryClaim_cannotBeDecryptedWithoutCorrectSecretKey()352 KeyPair keyPair = SecureBox.genKeyPair(); in encryptRecoveryClaim_cannotBeDecryptedWithoutCorrectVaultParams()364 SecureBox.decrypt( in encryptRecoveryClaim_cannotBeDecryptedWithoutCorrectVaultParams()378 KeyPair keyPair = SecureBox.genKeyPair(); in encryptRecoveryClaim_cannotBeDecryptedWithoutCorrectHeader()[all …]
67 import com.android.security.SecureBox;1473 PublicKey publicKey = SecureBox.decodePublicKey(request.getSourcePublicKey()); in encryptCredentialsForNewSession()1474 return SecureBox.encrypt( in encryptCredentialsForNewSession()1496 return SecureBox.encrypt( in encryptClaimResponse()
58 import com.android.security.SecureBox;835 byte[] locallyEncryptedKey = SecureBox.decrypt( in decryptThmEncryptedKey()
24 import com.android.security.SecureBox;94 return SecureBox.encrypt( in thmEncryptRecoveryKey()130 return SecureBox.encrypt( in locallyEncryptRecoveryKey()178 byte[] encryptedKey = SecureBox.encrypt( in encryptKeysWithRecoveryKey()220 return SecureBox.encrypt( in encryptRecoveryClaim()242 return SecureBox.decrypt( in decryptRecoveryClaimResponse()261 return SecureBox.decrypt( in decryptRecoveryKey()287 return SecureBox.decrypt( in decryptApplicationKey()331 .put(SecureBox.encodePublicKey(thmPublicKey)) in packVaultParams()
55 import com.android.security.SecureBox;1020 byte[] encodedPublicKey = SecureBox.encodePublicKey(publicKey); in startRemoteLockscreenValidation()1055 decryptedCredentials = SecureBox.decrypt( in validateRemoteLockscreen()1163 byte[] encodedPublicKey = SecureBox.encodePublicKey(publicKey); in publicKeysMatch()
26 import com.android.security.SecureBox;74 SecureBox.genKeyPair(), time11MinutesAgo)); in getLockscreenValidationCleanupTask()77 SecureBox.genKeyPair(), time2MinutesAgo)); in getLockscreenValidationCleanupTask()
26 import com.android.security.SecureBox;77 newKeyPair = SecureBox.genKeyPair(); in startSession()
72 public class SecureBox { class132 private SecureBox() {} in SecureBox() method in SecureBox