X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/84aacf34eae6543be9f0280b2015385f91e5c2c6..b54c578e17e9bcbd74aa30ea75e25e955b9a6205:/OSX/sec/securityd/SecDbBackupManager-protobufs/generated_source/SecDbBackupMetadataClassKey.h?ds=sidebyside diff --git a/OSX/sec/securityd/SecDbBackupManager-protobufs/generated_source/SecDbBackupMetadataClassKey.h b/OSX/sec/securityd/SecDbBackupManager-protobufs/generated_source/SecDbBackupMetadataClassKey.h new file mode 100644 index 00000000..b967187f --- /dev/null +++ b/OSX/sec/securityd/SecDbBackupManager-protobufs/generated_source/SecDbBackupMetadataClassKey.h @@ -0,0 +1,44 @@ +// This file was automatically generated by protocompiler +// DO NOT EDIT! +// Compiled from SecDbBackupRecoverySet.proto + +#import +#import + +#ifdef __cplusplus +#define SECDBBACKUPMETADATACLASSKEY_FUNCTION extern "C" +#else +#define SECDBBACKUPMETADATACLASSKEY_FUNCTION extern +#endif + +/** Insert into metadatakeys table, v12_metadatakeydata column */ +@interface SecDbBackupMetadataClassKey : PBCodable +{ + NSData *_backupWrappedMetadataKey; + int32_t _keyClass; + struct { + int keyClass:1; + } _has; +} + + +@property (nonatomic) BOOL hasKeyClass; +@property (nonatomic) int32_t keyClass; + +@property (nonatomic, readonly) BOOL hasBackupWrappedMetadataKey; +/** wrapped by appropriate backup keyclass for recovery */ +@property (nonatomic, retain) NSData *backupWrappedMetadataKey; + +// Performs a shallow copy into other +- (void)copyTo:(SecDbBackupMetadataClassKey *)other; + +// Performs a deep merge from other into self +// If set in other, singular values in self are replaced in self +// Singular composite values are recursively merged +// Repeated values from other are appended to repeated values in self +- (void)mergeFrom:(SecDbBackupMetadataClassKey *)other; + +SECDBBACKUPMETADATACLASSKEY_FUNCTION BOOL SecDbBackupMetadataClassKeyReadFrom(__unsafe_unretained SecDbBackupMetadataClassKey *self, __unsafe_unretained PBDataReader *reader); + +@end +