#import <Foundation/Foundation.h>
#import <ProtocolBuffer/PBCodable.h>
#ifdef __cplusplus
#define OTRECOVERY_FUNCTION extern "C" __attribute__((visibility("hidden")))
#else
#define OTRECOVERY_FUNCTION extern __attribute__((visibility("hidden")))
#endif
__attribute__((visibility("hidden")))
@interface OTRecovery : 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:(OTRecovery *)other;
- (void)mergeFrom:(OTRecovery *)other;
OTRECOVERY_FUNCTION BOOL OTRecoveryReadFrom(__unsafe_unretained OTRecovery *self, __unsafe_unretained PBDataReader *reader);
@end