]> git.saurik.com Git - apple/security.git/blob - OSX/sec/securityd/SecDbBackupManager-protobufs/generated_source/SecDbBackupMetadataClassKey.h
Security-59306.11.20.tar.gz
[apple/security.git] / OSX / sec / securityd / SecDbBackupManager-protobufs / generated_source / SecDbBackupMetadataClassKey.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 #ifdef __cplusplus
9 #define SECDBBACKUPMETADATACLASSKEY_FUNCTION extern "C"
10 #else
11 #define SECDBBACKUPMETADATACLASSKEY_FUNCTION extern
12 #endif
13
14 /** Insert into metadatakeys table, v12_metadatakeydata column */
15 @interface SecDbBackupMetadataClassKey : PBCodable <NSCopying>
16 {
17 NSData *_backupWrappedMetadataKey;
18 int32_t _keyClass;
19 struct {
20 int keyClass:1;
21 } _has;
22 }
23
24
25 @property (nonatomic) BOOL hasKeyClass;
26 @property (nonatomic) int32_t keyClass;
27
28 @property (nonatomic, readonly) BOOL hasBackupWrappedMetadataKey;
29 /** wrapped by appropriate backup keyclass for recovery */
30 @property (nonatomic, retain) NSData *backupWrappedMetadataKey;
31
32 // Performs a shallow copy into other
33 - (void)copyTo:(SecDbBackupMetadataClassKey *)other;
34
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;
40
41 SECDBBACKUPMETADATACLASSKEY_FUNCTION BOOL SecDbBackupMetadataClassKeyReadFrom(__unsafe_unretained SecDbBackupMetadataClassKey *self, __unsafe_unretained PBDataReader *reader);
42
43 @end
44