mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 07:06:11 -04:00
[Presence] Pass DeviceIdentityMetadata materials to PresenceDevice during advertisement decryption
PiperOrigin-RevId: 540715111
This commit is contained in:
committed by
Copybara-Service
parent
5737b867ed
commit
c829632879
@@ -82,7 +82,7 @@ message SharedCredential {
|
||||
// The type assigned to the credential. The CredentialType is used to
|
||||
// determine whether a device identity credential or account based identity
|
||||
// credential is used for decryption.
|
||||
CredentialType type = 11;
|
||||
CredentialType credential_type = 11;
|
||||
|
||||
// The encrypted Metadata in bytes. Encrypted by the v1
|
||||
// metadata_encryption_key.
|
||||
|
||||
@@ -24,7 +24,7 @@ option optimize_for = LITE_RUNTIME;
|
||||
|
||||
// The metadata of a device. Contains confidential data not to be broadcasted
|
||||
// directly in OTA.
|
||||
// NEXT_ID=4
|
||||
// NEXT_ID=5
|
||||
message DeviceIdentityMetaData {
|
||||
// The type of the device.
|
||||
DeviceType device_type = 1;
|
||||
@@ -35,6 +35,9 @@ message DeviceIdentityMetaData {
|
||||
// The ChromeOS team requires the BT mac address for debugging purposes
|
||||
// temporarily. This should be removed by the end of this year.
|
||||
bytes bluetooth_mac_address = 3;
|
||||
|
||||
// The instance type (user profile) related to the metadata.
|
||||
InstanceType instance_type = 4;
|
||||
}
|
||||
|
||||
// The metadata of a device.
|
||||
|
||||
Reference in New Issue
Block a user