SecDbBackupKeyClassSigningKey.h [plain text]
#import <Foundation/Foundation.h>
#import <ProtocolBuffer/PBCodable.h>
#ifdef __cplusplus
#define SECDBBACKUPKEYCLASSSIGNINGKEY_FUNCTION extern "C"
#else
#define SECDBBACKUPKEYCLASSSIGNINGKEY_FUNCTION extern
#endif
@interface SecDbBackupKeyClassSigningKey : PBCodable <NSCopying>
{
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;
@property (nonatomic, retain) NSData *aksRefKey;
@property (nonatomic, readonly) BOOL hasAksWrappedKey;
@property (nonatomic, retain) NSData *aksWrappedKey;
@property (nonatomic, readonly) BOOL hasBackupWrappedKey;
@property (nonatomic, retain) NSData *backupWrappedKey;
- (void)copyTo:(SecDbBackupKeyClassSigningKey *)other;
- (void)mergeFrom:(SecDbBackupKeyClassSigningKey *)other;
SECDBBACKUPKEYCLASSSIGNINGKEY_FUNCTION BOOL SecDbBackupKeyClassSigningKeyReadFrom(__unsafe_unretained SecDbBackupKeyClassSigningKey *self, __unsafe_unretained PBDataReader *reader);
@end