1 // This file was automatically generated by protocompiler
3 // Compiled from SecDbBackupRecoverySet.proto
5 #import <Foundation/Foundation.h>
6 #import <ProtocolBuffer/PBCodable.h>
8 @
class SecDbBackupBagIdentity
;
11 #define SECDBBACKUPBAG_FUNCTION extern "C"
13 #define SECDBBACKUPBAG_FUNCTION extern
16 /** Insert into backupbags table, v12_backupBag column */
17 @interface SecDbBackupBag
: PBCodable
<NSCopying
>
19 SecDbBackupBagIdentity
*_bagIdentity
;
24 @
property (nonatomic
, readonly
) BOOL hasBagIdentity
;
25 @
property (nonatomic
, retain
) SecDbBackupBagIdentity
*bagIdentity
;
27 @
property (nonatomic
, readonly
) BOOL hasKeybag
;
28 @
property (nonatomic
, retain
) NSData
*keybag
;
30 // Performs a shallow copy into other
31 - (void)copyTo
:(SecDbBackupBag
*)other
;
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
;
39 SECDBBACKUPBAG_FUNCTION BOOL
SecDbBackupBagReadFrom(__unsafe_unretained SecDbBackupBag
*self
, __unsafe_unretained PBDataReader
*reader
);