#import <Foundation/Foundation.h>
#import <ProtocolBuffer/PBCodable.h>
@class SecDbBackupBagIdentity;
#ifdef __cplusplus
#define SECDBBACKUPBAG_FUNCTION extern "C"
#else
#define SECDBBACKUPBAG_FUNCTION extern
#endif
@interface SecDbBackupBag : PBCodable <NSCopying>
{
SecDbBackupBagIdentity *_bagIdentity;
NSData *_keybag;
}
@property (nonatomic, readonly) BOOL hasBagIdentity;
@property (nonatomic, retain) SecDbBackupBagIdentity *bagIdentity;
@property (nonatomic, readonly) BOOL hasKeybag;
@property (nonatomic, retain) NSData *keybag;
- (void)copyTo:(SecDbBackupBag *)other;
- (void)mergeFrom:(SecDbBackupBag *)other;
SECDBBACKUPBAG_FUNCTION BOOL SecDbBackupBagReadFrom(__unsafe_unretained SecDbBackupBag *self, __unsafe_unretained PBDataReader *reader);
@end