SecDbBackupMetadataClassKey.h [plain text]
#import <Foundation/Foundation.h>
#import <ProtocolBuffer/PBCodable.h>
#ifdef __cplusplus
#define SECDBBACKUPMETADATACLASSKEY_FUNCTION extern "C"
#else
#define SECDBBACKUPMETADATACLASSKEY_FUNCTION extern
#endif
@interface SecDbBackupMetadataClassKey : PBCodable <NSCopying>
{
NSData *_backupWrappedMetadataKey;
int32_t _keyClass;
struct {
int keyClass:1;
} _has;
}
@property (nonatomic) BOOL hasKeyClass;
@property (nonatomic) int32_t keyClass;
@property (nonatomic, readonly) BOOL hasBackupWrappedMetadataKey;
@property (nonatomic, retain) NSData *backupWrappedMetadataKey;
- (void)copyTo:(SecDbBackupMetadataClassKey *)other;
- (void)mergeFrom:(SecDbBackupMetadataClassKey *)other;
SECDBBACKUPMETADATACLASSKEY_FUNCTION BOOL SecDbBackupMetadataClassKeyReadFrom(__unsafe_unretained SecDbBackupMetadataClassKey *self, __unsafe_unretained PBDataReader *reader);
@end