Add proto for authenticating Nearby Presence identities.

PiperOrigin-RevId: 539222890
This commit is contained in:
hai007
2023-06-09 18:21:45 -07:00
committed by Copybara-Service
parent 3a49499de4
commit 0dc5f85627
+16
View File
@@ -40,6 +40,9 @@ message V1Frame {
// Sent by discoverer to notify broadcaster the UWB ranging parameters.
UwbConnectionInfo uwb_connection_info = 5;
// Used for identity authentication.
PresenceAuthenticationFrame authentication_frame = 6;
}
}
@@ -156,3 +159,16 @@ message ControlFrame {
optional ControlType type = 1;
}
message PresenceAuthenticationFrame {
// The version of this frame and protocol.
optional int32 version = 1;
// A signature signed by the private key in the LocalCredential.
optional bytes private_key_signature = 2;
// A hash of the credential's id.
optional bytes credential_id_hash = 3;
// TBD. Keychain PSK hash (go/nearby-presence-identity-verification).
}