#import <Foundation/Foundation.h>
#import <ProtocolBuffer/PBCodable.h>
#ifdef __cplusplus
#define RECOVERY_FUNCTION extern "C" __attribute__((visibility("hidden")))
#else
#define RECOVERY_FUNCTION extern __attribute__((visibility("hidden")))
#endif
__attribute__((visibility("hidden")))
@interface Recovery : PBCodable <NSCopying>
{
NSData *_encryptionSPKI;
NSString *_peerID;
NSData *_signingSPKI;
}
@property (nonatomic, readonly) BOOL hasPeerID;
@property (nonatomic, retain) NSString *peerID;
@property (nonatomic, readonly) BOOL hasSigningSPKI;
@property (nonatomic, retain) NSData *signingSPKI;
@property (nonatomic, readonly) BOOL hasEncryptionSPKI;
@property (nonatomic, retain) NSData *encryptionSPKI;
- (void)copyTo:(Recovery *)other;
- (void)mergeFrom:(Recovery *)other;
RECOVERY_FUNCTION BOOL RecoveryReadFrom(__unsafe_unretained Recovery *self, __unsafe_unretained PBDataReader *reader);
@end