]> git.saurik.com Git - apple/security.git/blob - keychain/escrowrequest/SecEscrowPendingRecord.proto
Security-59306.101.1.tar.gz
[apple/security.git] / keychain / escrowrequest / SecEscrowPendingRecord.proto
1
2 syntax = "proto2";
3
4 option objc_class_naming = "extended";
5 option objc_class_visibility = "hidden";
6
7 message SecEscrowPendingRecord {
8 optional string uuid = 1;
9
10 // True if CloudServices has informed us that it's successfully cached a certificate for this request
11 optional bool certCached = 2;
12
13 // CloudServices is responsible for serialization and understanding what it has stored here.
14 // This is a shame, but allows knowledge of what's in a escrow record to live in CloudServices, not securityd.
15 optional bytes serializedPrerecord = 3;
16
17 // Holds the time, in milliseconds since 1970, that the last SBD trigger was attempted
18 optional uint64 lastCloudServicesTriggerTime = 4;
19
20 // Holds the time, in milliseconds since 1970, that the last escrow upload was attempted
21 optional uint64 lastEscrowAttemptTime = 5;
22
23 // If set to true, then this pending record is complete, and can be garbage collected
24 optional bool uploadCompleted = 6;
25
26 // Number of upload retries
27 optional uint64 uploadRetries = 7;
28
29 // altDSID for requesting user (will be used for cleanup)
30 optional string altDSID = 8;
31
32 // Request was generated at the time, ms since 1970
33 optional uint64 triggerRequestTime = 9;
34 }