1 // This file was automatically generated by protocompiler
3 // Compiled from SecDbBackupRecoverySet.proto
5 #import <Foundation/Foundation.h>
6 #import <ProtocolBuffer/PBCodable.h>
9 #define SECDBBACKUPMETADATACLASSKEY_FUNCTION extern "C"
11 #define SECDBBACKUPMETADATACLASSKEY_FUNCTION extern
14 /** Insert into metadatakeys table, v12_metadatakeydata column */
15 @interface SecDbBackupMetadataClassKey
: PBCodable
<NSCopying
>
17 NSData
*_backupWrappedMetadataKey
;
25 @
property (nonatomic
) BOOL hasKeyClass
;
26 @
property (nonatomic
) int32_t keyClass
;
28 @
property (nonatomic
, readonly
) BOOL hasBackupWrappedMetadataKey
;
29 /** wrapped by appropriate backup keyclass for recovery */
30 @
property (nonatomic
, retain
) NSData
*backupWrappedMetadataKey
;
32 // Performs a shallow copy into other
33 - (void)copyTo
:(SecDbBackupMetadataClassKey
*)other
;
35 // Performs a deep merge from other into self
36 // If set in other, singular values in self are replaced in self
37 // Singular composite values are recursively merged
38 // Repeated values from other are appended to repeated values in self
39 - (void)mergeFrom
:(SecDbBackupMetadataClassKey
*)other
;
41 SECDBBACKUPMETADATACLASSKEY_FUNCTION BOOL
SecDbBackupMetadataClassKeyReadFrom(__unsafe_unretained SecDbBackupMetadataClassKey
*self
, __unsafe_unretained PBDataReader
*reader
);