]> git.saurik.com Git - apple/security.git/blob - keychain/ot/proto/generated_source/OTPairingMessage.h
Security-59306.101.1.tar.gz
[apple/security.git] / keychain / ot / proto / generated_source / OTPairingMessage.h
1 // This file was automatically generated by protocompiler
2 // DO NOT EDIT!
3 // Compiled from OTPairingMessage.proto
4
5 #import <Foundation/Foundation.h>
6 #import <ProtocolBuffer/PBCodable.h>
7
8 @class OTSponsorToApplicantRound1M2;
9 @class OTApplicantToSponsorRound2M1;
10 @class OTSponsorToApplicantRound2M2;
11
12 #ifdef __cplusplus
13 #define OTPAIRINGMESSAGE_FUNCTION extern "C" __attribute__((visibility("hidden")))
14 #else
15 #define OTPAIRINGMESSAGE_FUNCTION extern __attribute__((visibility("hidden")))
16 #endif
17
18 /**
19 * Claimed for a field, but never used
20 * reserved 3;
21 */
22 __attribute__((visibility("hidden")))
23 @interface OTPairingMessage : PBCodable <NSCopying>
24 {
25 OTSponsorToApplicantRound1M2 *_epoch;
26 OTApplicantToSponsorRound2M1 *_prepare;
27 OTSponsorToApplicantRound2M2 *_voucher;
28 }
29
30
31 @property (nonatomic, readonly) BOOL hasEpoch;
32 @property (nonatomic, retain) OTSponsorToApplicantRound1M2 *epoch;
33
34 @property (nonatomic, readonly) BOOL hasPrepare;
35 @property (nonatomic, retain) OTApplicantToSponsorRound2M1 *prepare;
36
37 @property (nonatomic, readonly) BOOL hasVoucher;
38 @property (nonatomic, retain) OTSponsorToApplicantRound2M2 *voucher;
39
40 // Performs a shallow copy into other
41 - (void)copyTo:(OTPairingMessage *)other;
42
43 // Performs a deep merge from other into self
44 // If set in other, singular values in self are replaced in self
45 // Singular composite values are recursively merged
46 // Repeated values from other are appended to repeated values in self
47 - (void)mergeFrom:(OTPairingMessage *)other;
48
49 OTPAIRINGMESSAGE_FUNCTION BOOL OTPairingMessageReadFrom(__unsafe_unretained OTPairingMessage *self, __unsafe_unretained PBDataReader *reader);
50
51 @end
52