Home
last modified time | relevance | path

Searched refs:mEncryptionKey (Results 1 – 3 of 3) 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.java117 private Key mEncryptionKey; field in CarTrustAgentEnrollmentService
539 mEncryptionKey.encryptData(Utils.longToBytes(handle)), in onEscrowTokenActiveStateChanged()
683 mEncryptionKey.decryptData(token), ActivityManager.getCurrentUser()); in notifyEscrowTokenReceived()
799 mEncryptionKey = null; in resetEncryptionState()
827 mEncryptionKey = message.getKey(); in setEnrollmentHandshakeAccepted()
828 if (!mTrustedDeviceService.saveEncryptionKey(mClientDeviceId, mEncryptionKey.asBytes())) { in setEnrollmentHandshakeAccepted()
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/
DSecureBleChannel.java92 private final AtomicReference<Key> mEncryptionKey = new AtomicReference<>(); field in SecureBleChannel
227 mEncryptionKey.set(newKey); in processHandshakeResumingSession()
279 Key key = mEncryptionKey.get(); in sendEncryptedMessage()
318 mEncryptionKey.set(localKey); in notifyOutOfBandAccepted()
402 Key key = mEncryptionKey.get();