]> git.saurik.com Git - apple/security.git/blob - OSX/sec/securityd/SecDbBackupManager-protobufs/generated_source/SecDbBackupBag.h
Security-59306.11.20.tar.gz
[apple/security.git] / OSX / sec / securityd / SecDbBackupManager-protobufs / generated_source / SecDbBackupBag.h
1 // This file was automatically generated by protocompiler
2 // DO NOT EDIT!
3 // Compiled from SecDbBackupRecoverySet.proto
4
5 #import <Foundation/Foundation.h>
6 #import <ProtocolBuffer/PBCodable.h>
7
8 @class SecDbBackupBagIdentity;
9
10 #ifdef __cplusplus
11 #define SECDBBACKUPBAG_FUNCTION extern "C"
12 #else
13 #define SECDBBACKUPBAG_FUNCTION extern
14 #endif
15
16 /** Insert into backupbags table, v12_backupBag column */
17 @interface SecDbBackupBag : PBCodable <NSCopying>
18 {
19 SecDbBackupBagIdentity *_bagIdentity;
20 NSData *_keybag;
21 }
22
23
24 @property (nonatomic, readonly) BOOL hasBagIdentity;
25 @property (nonatomic, retain) SecDbBackupBagIdentity *bagIdentity;
26
27 @property (nonatomic, readonly) BOOL hasKeybag;
28 @property (nonatomic, retain) NSData *keybag;
29
30 // Performs a shallow copy into other
31 - (void)copyTo:(SecDbBackupBag *)other;
32
33 // Performs a deep merge from other into self
34 // If set in other, singular values in self are replaced in self
35 // Singular composite values are recursively merged
36 // Repeated values from other are appended to repeated values in self
37 - (void)mergeFrom:(SecDbBackupBag *)other;
38
39 SECDBBACKUPBAG_FUNCTION BOOL SecDbBackupBagReadFrom(__unsafe_unretained SecDbBackupBag *self, __unsafe_unretained PBDataReader *reader);
40
41 @end
42