SecDbKeychainSerializedMetadataKey.h [plain text]
#import <Foundation/Foundation.h>
#import <ProtocolBuffer/PBCodable.h>
#ifdef __cplusplus
#define SECDBKEYCHAINSERIALIZEDMETADATAKEY_FUNCTION extern "C"
#else
#define SECDBKEYCHAINSERIALIZEDMETADATAKEY_FUNCTION extern
#endif
@interface SecDbKeychainSerializedMetadataKey : PBCodable <NSCopying>
{
int32_t _actualKeyclass;
NSData *_akswrappedkey;
NSData *_backupwrappedkey;
NSData *_baguuid;
int32_t _keyclass;
struct {
int actualKeyclass:1;
int keyclass:1;
} _has;
}
@property (nonatomic) BOOL hasKeyclass;
@property (nonatomic) int32_t keyclass;
@property (nonatomic) BOOL hasActualKeyclass;
@property (nonatomic) int32_t actualKeyclass;
@property (nonatomic, readonly) BOOL hasBaguuid;
@property (nonatomic, retain) NSData *baguuid;
@property (nonatomic, readonly) BOOL hasAkswrappedkey;
@property (nonatomic, retain) NSData *akswrappedkey;
@property (nonatomic, readonly) BOOL hasBackupwrappedkey;
@property (nonatomic, retain) NSData *backupwrappedkey;
- (void)copyTo:(SecDbKeychainSerializedMetadataKey *)other;
- (void)mergeFrom:(SecDbKeychainSerializedMetadataKey *)other;
SECDBKEYCHAINSERIALIZEDMETADATAKEY_FUNCTION BOOL SecDbKeychainSerializedMetadataKeyReadFrom(__unsafe_unretained SecDbKeychainSerializedMetadataKey *self, __unsafe_unretained PBDataReader *reader);
@end