]> git.saurik.com Git - apple/security.git/blob - keychain/ot/proto/generated_source/OTEscrowRecordMetadata.h
Security-59754.80.3.tar.gz
[apple/security.git] / keychain / ot / proto / generated_source / OTEscrowRecordMetadata.h
1 // This file was automatically generated by protocompiler
2 // DO NOT EDIT!
3 // Compiled from OTEscrowRecord.proto
4
5 #import <Foundation/Foundation.h>
6 #import <ProtocolBuffer/PBCodable.h>
7
8 @class OTEscrowRecordMetadataClientMetadata;
9
10 #ifdef __cplusplus
11 #define OTESCROWRECORDMETADATA_FUNCTION extern "C"
12 #else
13 #define OTESCROWRECORDMETADATA_FUNCTION extern
14 #endif
15
16 @interface OTEscrowRecordMetadata : PBCodable <NSCopying>
17 {
18 uint64_t _secureBackupTimestamp;
19 uint64_t _secureBackupUsesMultipleIcscs;
20 NSData *_backupKeybagDigest;
21 NSString *_bottleId;
22 NSString *_bottleValidity;
23 OTEscrowRecordMetadataClientMetadata *_clientMetadata;
24 NSData *_escrowedSpki;
25 NSData *_peerInfo;
26 NSString *_serial;
27 struct {
28 int secureBackupTimestamp:1;
29 int secureBackupUsesMultipleIcscs:1;
30 } _has;
31 }
32
33
34 @property (nonatomic, readonly) BOOL hasBackupKeybagDigest;
35 @property (nonatomic, retain) NSData *backupKeybagDigest;
36
37 @property (nonatomic, readonly) BOOL hasClientMetadata;
38 @property (nonatomic, retain) OTEscrowRecordMetadataClientMetadata *clientMetadata;
39
40 @property (nonatomic) BOOL hasSecureBackupUsesMultipleIcscs;
41 @property (nonatomic) uint64_t secureBackupUsesMultipleIcscs;
42
43 @property (nonatomic, readonly) BOOL hasBottleId;
44 @property (nonatomic, retain) NSString *bottleId;
45
46 @property (nonatomic) BOOL hasSecureBackupTimestamp;
47 @property (nonatomic) uint64_t secureBackupTimestamp;
48
49 @property (nonatomic, readonly) BOOL hasEscrowedSpki;
50 @property (nonatomic, retain) NSData *escrowedSpki;
51
52 @property (nonatomic, readonly) BOOL hasPeerInfo;
53 @property (nonatomic, retain) NSData *peerInfo;
54
55 @property (nonatomic, readonly) BOOL hasBottleValidity;
56 @property (nonatomic, retain) NSString *bottleValidity;
57
58 @property (nonatomic, readonly) BOOL hasSerial;
59 @property (nonatomic, retain) NSString *serial;
60
61 // Performs a shallow copy into other
62 - (void)copyTo:(OTEscrowRecordMetadata *)other;
63
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;
69
70 OTESCROWRECORDMETADATA_FUNCTION BOOL OTEscrowRecordMetadataReadFrom(__unsafe_unretained OTEscrowRecordMetadata *self, __unsafe_unretained PBDataReader *reader);
71
72 @end
73