]> git.saurik.com Git - apple/security.git/blob - keychain/ot/proto/generated_source/OTICDPRecordContext.h
Security-59754.41.1.tar.gz
[apple/security.git] / keychain / ot / proto / generated_source / OTICDPRecordContext.h
1 // This file was automatically generated by protocompiler
2 // DO NOT EDIT!
3 // Compiled from OTCDPRecoveryInformation.proto
4
5 #import <Foundation/Foundation.h>
6 #import <ProtocolBuffer/PBCodable.h>
7
8 @class OTCDPRecoveryInformation;
9 @class OTEscrowAuthenticationInformation;
10
11 #ifdef __cplusplus
12 #define OTICDPRECORDCONTEXT_FUNCTION extern "C"
13 #else
14 #define OTICDPRECORDCONTEXT_FUNCTION extern
15 #endif
16
17 @interface OTICDPRecordContext : PBCodable <NSCopying>
18 {
19 OTEscrowAuthenticationInformation *_authInfo;
20 OTCDPRecoveryInformation *_cdpInfo;
21 }
22
23
24 @property (nonatomic, readonly) BOOL hasCdpInfo;
25 @property (nonatomic, retain) OTCDPRecoveryInformation *cdpInfo;
26
27 @property (nonatomic, readonly) BOOL hasAuthInfo;
28 @property (nonatomic, retain) OTEscrowAuthenticationInformation *authInfo;
29
30 // Performs a shallow copy into other
31 - (void)copyTo:(OTICDPRecordContext *)other;
32
33 // Performs a deep merge from other into self
34 // If set in other, singular values in self are replaced in self
35 // Singular composite values are recursively merged
36 // Repeated values from other are appended to repeated values in self
37 - (void)mergeFrom:(OTICDPRecordContext *)other;
38
39 OTICDPRECORDCONTEXT_FUNCTION BOOL OTICDPRecordContextReadFrom(__unsafe_unretained OTICDPRecordContext *self, __unsafe_unretained PBDataReader *reader);
40
41 @end
42