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