]> git.saurik.com Git - apple/security.git/blob - keychain/securityd/SecDbBackupManager-protobufs/generated_source/SecDbBackupBagIdentity.h
Security-59306.41.2.tar.gz
[apple/security.git] / keychain / securityd / SecDbBackupManager-protobufs / generated_source / SecDbBackupBagIdentity.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 SECDBBACKUPBAGIDENTITY_FUNCTION extern "C"
10 #else
11 #define SECDBBACKUPBAGIDENTITY_FUNCTION extern
12 #endif
13
14 /** Maintain identity consistency by including this in key and bag messages */
15 @interface SecDbBackupBagIdentity : PBCodable <NSCopying>
16 {
17 NSData *_baghash;
18 NSData *_baguuid;
19 }
20
21
22 @property (nonatomic, readonly) BOOL hasBaguuid;
23 @property (nonatomic, retain) NSData *baguuid;
24
25 @property (nonatomic, readonly) BOOL hasBaghash;
26 @property (nonatomic, retain) NSData *baghash;
27
28 // Performs a shallow copy into other
29 - (void)copyTo:(SecDbBackupBagIdentity *)other;
30
31 // Performs a deep merge from other into self
32 // If set in other, singular values in self are replaced in self
33 // Singular composite values are recursively merged
34 // Repeated values from other are appended to repeated values in self
35 - (void)mergeFrom:(SecDbBackupBagIdentity *)other;
36
37 SECDBBACKUPBAGIDENTITY_FUNCTION BOOL SecDbBackupBagIdentityReadFrom(__unsafe_unretained SecDbBackupBagIdentity *self, __unsafe_unretained PBDataReader *reader);
38
39 @end
40