From d2c401112cc577fe3c5f9a11329bb557048af31a Mon Sep 17 00:00:00 2001 From: hai007 Date: Wed, 20 Jul 2022 16:11:11 -0700 Subject: [PATCH] Modify Credential data structure. PiperOrigin-RevId: 462252551 --- presence/credential.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/presence/credential.h b/presence/credential.h index b6dabb4c..f55ad32e 100644 --- a/presence/credential.h +++ b/presence/credential.h @@ -80,10 +80,10 @@ struct PrivateCredential { std::vector verification_key; // The time in millis from epoch when this credential becomes effective. - int start_time; + int64_t start_time; // The time in millis from epoch when this credential expires. - int end_time; + int64_t end_time; // The set of 2-byte salts already used to encrypt the metadata key. std::set> consumed_salts; @@ -111,10 +111,10 @@ struct PublicCredential { std::vector verification_key; // The time in millis from epoch when this credential becomes effective. - int start_time; + int64_t start_time; // The time in millis from epoch when this credential expires. - int end_time; + int64_t end_time; // The encrypted DeviceMetadata in bytes, contains personal information of the // device/user who created this certificate. Needs to be decrypted into bytes,