SecDbKeychainSerializedSecretData.h [plain text]
#import <Foundation/Foundation.h>
#import <ProtocolBuffer/PBCodable.h>
#ifdef __cplusplus
#define SECDBKEYCHAINSERIALIZEDSECRETDATA_FUNCTION extern "C"
#else
#define SECDBKEYCHAINSERIALIZEDSECRETDATA_FUNCTION extern
#endif
@interface SecDbKeychainSerializedSecretData : PBCodable <NSCopying>
{
NSData *_ciphertext;
NSData *_secDbBackupWrappedItemKey;
NSString *_tamperCheck;
NSData *_wrappedKey;
}
@property (nonatomic, retain) NSData *ciphertext;
@property (nonatomic, retain) NSData *wrappedKey;
@property (nonatomic, retain) NSString *tamperCheck;
@property (nonatomic, readonly) BOOL hasSecDbBackupWrappedItemKey;
@property (nonatomic, retain) NSData *secDbBackupWrappedItemKey;
- (void)copyTo:(SecDbKeychainSerializedSecretData *)other;
- (void)mergeFrom:(SecDbKeychainSerializedSecretData *)other;
SECDBKEYCHAINSERIALIZEDSECRETDATA_FUNCTION BOOL SecDbKeychainSerializedSecretDataReadFrom(__unsafe_unretained SecDbKeychainSerializedSecretData *self, __unsafe_unretained PBDataReader *reader);
@end