1 // This file was automatically generated by protocompiler
3 // Compiled from OTEscrowRecord.proto
5 #import <Foundation/Foundation.h>
6 #import <ProtocolBuffer/PBCodable.h>
8 @
class OTEscrowRecordMetadataClientMetadata
;
11 #define OTESCROWRECORDMETADATA_FUNCTION extern "C"
13 #define OTESCROWRECORDMETADATA_FUNCTION extern
16 @interface OTEscrowRecordMetadata
: PBCodable
<NSCopying
>
18 uint64_t _secureBackupTimestamp
;
19 uint64_t _secureBackupUsesMultipleIcscs
;
20 NSData
*_backupKeybagDigest
;
22 NSString
*_bottleValidity
;
23 OTEscrowRecordMetadataClientMetadata
*_clientMetadata
;
24 NSData
*_escrowedSpki
;
28 int secureBackupTimestamp
:1;
29 int secureBackupUsesMultipleIcscs
:1;
34 @
property (nonatomic
, readonly
) BOOL hasBackupKeybagDigest
;
35 @
property (nonatomic
, retain
) NSData
*backupKeybagDigest
;
37 @
property (nonatomic
, readonly
) BOOL hasClientMetadata
;
38 @
property (nonatomic
, retain
) OTEscrowRecordMetadataClientMetadata
*clientMetadata
;
40 @
property (nonatomic
) BOOL hasSecureBackupUsesMultipleIcscs
;
41 @
property (nonatomic
) uint64_t secureBackupUsesMultipleIcscs
;
43 @
property (nonatomic
, readonly
) BOOL hasBottleId
;
44 @
property (nonatomic
, retain
) NSString
*bottleId
;
46 @
property (nonatomic
) BOOL hasSecureBackupTimestamp
;
47 @
property (nonatomic
) uint64_t secureBackupTimestamp
;
49 @
property (nonatomic
, readonly
) BOOL hasEscrowedSpki
;
50 @
property (nonatomic
, retain
) NSData
*escrowedSpki
;
52 @
property (nonatomic
, readonly
) BOOL hasPeerInfo
;
53 @
property (nonatomic
, retain
) NSData
*peerInfo
;
55 @
property (nonatomic
, readonly
) BOOL hasBottleValidity
;
56 @
property (nonatomic
, retain
) NSString
*bottleValidity
;
58 @
property (nonatomic
, readonly
) BOOL hasSerial
;
59 @
property (nonatomic
, retain
) NSString
*serial
;
61 // Performs a shallow copy into other
62 - (void)copyTo
:(OTEscrowRecordMetadata
*)other
;
64 // Performs a deep merge from other into self
65 // If set in other, singular values in self are replaced in self
66 // Singular composite values are recursively merged
67 // Repeated values from other are appended to repeated values in self
68 - (void)mergeFrom
:(OTEscrowRecordMetadata
*)other
;
70 OTESCROWRECORDMETADATA_FUNCTION BOOL
OTEscrowRecordMetadataReadFrom(__unsafe_unretained OTEscrowRecordMetadata
*self
, __unsafe_unretained PBDataReader
*reader
);