X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/84aacf34eae6543be9f0280b2015385f91e5c2c6..b54c578e17e9bcbd74aa30ea75e25e955b9a6205:/OSX/sec/securityd/SecDbBackupManager-protobufs/generated_source/SecDbBackupKeyClassSigningKey.h?ds=inline diff --git a/OSX/sec/securityd/SecDbBackupManager-protobufs/generated_source/SecDbBackupKeyClassSigningKey.h b/OSX/sec/securityd/SecDbBackupManager-protobufs/generated_source/SecDbBackupKeyClassSigningKey.h new file mode 100644 index 00000000..e3b5c0bc --- /dev/null +++ b/OSX/sec/securityd/SecDbBackupManager-protobufs/generated_source/SecDbBackupKeyClassSigningKey.h @@ -0,0 +1,58 @@ +// This file was automatically generated by protocompiler +// DO NOT EDIT! +// Compiled from SecDbBackupRecoverySet.proto + +#import +#import + +#ifdef __cplusplus +#define SECDBBACKUPKEYCLASSSIGNINGKEY_FUNCTION extern "C" +#else +#define SECDBBACKUPKEYCLASSSIGNINGKEY_FUNCTION extern +#endif + +/** Insert into backupkeyclasssigningkeys table, v12_keyClassSigningKey column */ +@interface SecDbBackupKeyClassSigningKey : PBCodable +{ + NSData *_aksRefKey; + NSData *_aksWrappedKey; + NSData *_backupWrappedKey; + int32_t _keyClass; + NSData *_publicKey; + struct { + int keyClass:1; + } _has; +} + + +@property (nonatomic) BOOL hasKeyClass; +@property (nonatomic) int32_t keyClass; + +@property (nonatomic, readonly) BOOL hasPublicKey; +@property (nonatomic, retain) NSData *publicKey; + +@property (nonatomic, readonly) BOOL hasAksRefKey; +/** Contains bag identity as authenticated data */ +@property (nonatomic, retain) NSData *aksRefKey; + +@property (nonatomic, readonly) BOOL hasAksWrappedKey; +/** SFECIESKeyPair wrapped by AKS ref key */ +@property (nonatomic, retain) NSData *aksWrappedKey; + +@property (nonatomic, readonly) BOOL hasBackupWrappedKey; +/** SFECIESKeyPair wrapped by KCSKSecret in RecoverySet. Also authenticates bag identity */ +@property (nonatomic, retain) NSData *backupWrappedKey; + +// Performs a shallow copy into other +- (void)copyTo:(SecDbBackupKeyClassSigningKey *)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:(SecDbBackupKeyClassSigningKey *)other; + +SECDBBACKUPKEYCLASSSIGNINGKEY_FUNCTION BOOL SecDbBackupKeyClassSigningKeyReadFrom(__unsafe_unretained SecDbBackupKeyClassSigningKey *self, __unsafe_unretained PBDataReader *reader); + +@end +