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 SECDBBACKUPKEYCLASSSIGNINGKEY_FUNCTION extern "C"
11 #define SECDBBACKUPKEYCLASSSIGNINGKEY_FUNCTION extern
14 /** Insert into backupkeyclasssigningkeys table, v12_keyClassSigningKey column */
15 @interface SecDbBackupKeyClassSigningKey
: PBCodable
<NSCopying
>
18 NSData
*_aksWrappedKey
;
19 NSData
*_backupWrappedKey
;
28 @
property (nonatomic
) BOOL hasKeyClass
;
29 @
property (nonatomic
) int32_t keyClass
;
31 @
property (nonatomic
, readonly
) BOOL hasPublicKey
;
32 @
property (nonatomic
, retain
) NSData
*publicKey
;
34 @
property (nonatomic
, readonly
) BOOL hasAksRefKey
;
35 /** Contains bag identity as authenticated data */
36 @
property (nonatomic
, retain
) NSData
*aksRefKey
;
38 @
property (nonatomic
, readonly
) BOOL hasAksWrappedKey
;
39 /** SFECIESKeyPair wrapped by AKS ref key */
40 @
property (nonatomic
, retain
) NSData
*aksWrappedKey
;
42 @
property (nonatomic
, readonly
) BOOL hasBackupWrappedKey
;
43 /** SFECIESKeyPair wrapped by KCSKSecret in RecoverySet. Also authenticates bag identity */
44 @
property (nonatomic
, retain
) NSData
*backupWrappedKey
;
46 // Performs a shallow copy into other
47 - (void)copyTo
:(SecDbBackupKeyClassSigningKey
*)other
;
49 // Performs a deep merge from other into self
50 // If set in other, singular values in self are replaced in self
51 // Singular composite values are recursively merged
52 // Repeated values from other are appended to repeated values in self
53 - (void)mergeFrom
:(SecDbBackupKeyClassSigningKey
*)other
;
55 SECDBBACKUPKEYCLASSSIGNINGKEY_FUNCTION BOOL
SecDbBackupKeyClassSigningKeyReadFrom(__unsafe_unretained SecDbBackupKeyClassSigningKey
*self
, __unsafe_unretained PBDataReader
*reader
);