Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/trust/
DCarTrustAgentUnlockService.java142 private Key mEncryptionKey; field in CarTrustAgentUnlockService
310 if (mEncryptionKey == null) { in onUnlockDataReceived()
320 mTrustedDeviceService.saveEncryptionKey(mClientDeviceId, mEncryptionKey.asBytes()); in onUnlockDataReceived()
324 decryptedCredentials = mEncryptionKey.decryptData(value); in onUnlockDataReceived()
349 byte[] ack = isEncrypted ? mEncryptionKey.encryptData(ACKNOWLEDGEMENT_MESSAGE) in sendAckToClient()
451 mEncryptionKey = handshakeMessage.getKey(); in showVerificationCode()
452 mCurrentContext = D2DConnectionContext.fromSavedSession(mEncryptionKey.asBytes()); in showVerificationCode()
557 mEncryptionKey = null; in resetEncryptionState()
DCarTrustAgentEnrollmentService.java114 private Key mEncryptionKey; field in CarTrustAgentEnrollmentService
514 mEncryptionKey.encryptData(Utils.longToBytes(handle)), in onEscrowTokenActiveStateChanged()
658 mEncryptionKey.decryptData(token), ActivityManager.getCurrentUser()); in notifyEscrowTokenReceived()
774 mEncryptionKey = null; in resetEncryptionState()
802 mEncryptionKey = message.getKey(); in setEnrollmentHandshakeAccepted()
803 if (!mTrustedDeviceService.saveEncryptionKey(mClientDeviceId, mEncryptionKey.asBytes())) { in setEnrollmentHandshakeAccepted()