1 // This file was automatically generated by protocompiler
3 // Compiled from SecDbKeychainSerializedMetadataKey.proto
5 #import <Foundation/Foundation.h>
6 #import <ProtocolBuffer/PBCodable.h>
9 #define SECDBKEYCHAINSERIALIZEDMETADATAKEY_FUNCTION extern "C"
11 #define SECDBKEYCHAINSERIALIZEDMETADATAKEY_FUNCTION extern
14 @interface SecDbKeychainSerializedMetadataKey
: PBCodable
<NSCopying
>
16 int32_t _actualKeyclass
;
17 NSData
*_akswrappedkey
;
18 NSData
*_backupwrappedkey
;
28 @
property (nonatomic
) BOOL hasKeyclass
;
29 @
property (nonatomic
) int32_t keyclass
;
31 @
property (nonatomic
) BOOL hasActualKeyclass
;
32 @
property (nonatomic
) int32_t actualKeyclass
;
34 @
property (nonatomic
, readonly
) BOOL hasBaguuid
;
35 @
property (nonatomic
, retain
) NSData
*baguuid
;
37 @
property (nonatomic
, readonly
) BOOL hasAkswrappedkey
;
38 @
property (nonatomic
, retain
) NSData
*akswrappedkey
;
40 @
property (nonatomic
, readonly
) BOOL hasBackupwrappedkey
;
41 @
property (nonatomic
, retain
) NSData
*backupwrappedkey
;
43 // Performs a shallow copy into other
44 - (void)copyTo
:(SecDbKeychainSerializedMetadataKey
*)other
;
46 // Performs a deep merge from other into self
47 // If set in other, singular values in self are replaced in self
48 // Singular composite values are recursively merged
49 // Repeated values from other are appended to repeated values in self
50 - (void)mergeFrom
:(SecDbKeychainSerializedMetadataKey
*)other
;
52 SECDBKEYCHAINSERIALIZEDMETADATAKEY_FUNCTION BOOL
SecDbKeychainSerializedMetadataKeyReadFrom(__unsafe_unretained SecDbKeychainSerializedMetadataKey
*self
, __unsafe_unretained PBDataReader
*reader
);