SecDbBackupBagIdentity.h [plain text]
#import <Foundation/Foundation.h>
#import <ProtocolBuffer/PBCodable.h>
#ifdef __cplusplus
#define SECDBBACKUPBAGIDENTITY_FUNCTION extern "C"
#else
#define SECDBBACKUPBAGIDENTITY_FUNCTION extern
#endif
@interface SecDbBackupBagIdentity : PBCodable <NSCopying>
{
NSData *_baghash;
NSData *_baguuid;
}
@property (nonatomic, readonly) BOOL hasBaguuid;
@property (nonatomic, retain) NSData *baguuid;
@property (nonatomic, readonly) BOOL hasBaghash;
@property (nonatomic, retain) NSData *baghash;
- (void)copyTo:(SecDbBackupBagIdentity *)other;
- (void)mergeFrom:(SecDbBackupBagIdentity *)other;
SECDBBACKUPBAGIDENTITY_FUNCTION BOOL SecDbBackupBagIdentityReadFrom(__unsafe_unretained SecDbBackupBagIdentity *self, __unsafe_unretained PBDataReader *reader);
@end