OTICDPRecordContext.h [plain text]
#import <Foundation/Foundation.h>
#import <ProtocolBuffer/PBCodable.h>
@class OTCDPRecoveryInformation;
@class OTEscrowAuthenticationInformation;
#ifdef __cplusplus
#define OTICDPRECORDCONTEXT_FUNCTION extern "C"
#else
#define OTICDPRECORDCONTEXT_FUNCTION extern
#endif
@interface OTICDPRecordContext : PBCodable <NSCopying>
{
OTEscrowAuthenticationInformation *_authInfo;
OTCDPRecoveryInformation *_cdpInfo;
}
@property (nonatomic, readonly) BOOL hasCdpInfo;
@property (nonatomic, retain) OTCDPRecoveryInformation *cdpInfo;
@property (nonatomic, readonly) BOOL hasAuthInfo;
@property (nonatomic, retain) OTEscrowAuthenticationInformation *authInfo;
- (void)copyTo:(OTICDPRecordContext *)other;
- (void)mergeFrom:(OTICDPRecordContext *)other;
OTICDPRECORDCONTEXT_FUNCTION BOOL OTICDPRecordContextReadFrom(__unsafe_unretained OTICDPRecordContext *self, __unsafe_unretained PBDataReader *reader);
@end