]> git.saurik.com Git - apple/security.git/blob - keychain/ot/proto/generated_source/OTPairingMessage.h
Security-59754.80.3.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 OTApplicantToSponsorRound2M1;
9 @class OTSponsorToApplicantRound1M2;
10 @class OTSponsorToApplicantRound2M2;
11 @class OTSupportOctagonMessage;
12 @class OTSupportSOSMessage;
13
14 #ifdef __cplusplus
15 #define OTPAIRINGMESSAGE_FUNCTION extern "C" __attribute__((visibility("hidden")))
16 #else
17 #define OTPAIRINGMESSAGE_FUNCTION extern __attribute__((visibility("hidden")))
18 #endif
19
20 /**
21 * Claimed for a field, but never used
22 * reserved 3;
23 */
24 __attribute__((visibility("hidden")))
25 @interface OTPairingMessage : PBCodable <NSCopying>
26 {
27 OTSponsorToApplicantRound1M2 *_epoch;
28 OTApplicantToSponsorRound2M1 *_prepare;
29 OTSupportOctagonMessage *_supportsOctagon;
30 OTSupportSOSMessage *_supportsSOS;
31 OTSponsorToApplicantRound2M2 *_voucher;
32 }
33
34
35 @property (nonatomic, readonly) BOOL hasEpoch;
36 @property (nonatomic, retain) OTSponsorToApplicantRound1M2 *epoch;
37
38 @property (nonatomic, readonly) BOOL hasPrepare;
39 @property (nonatomic, retain) OTApplicantToSponsorRound2M1 *prepare;
40
41 @property (nonatomic, readonly) BOOL hasVoucher;
42 @property (nonatomic, retain) OTSponsorToApplicantRound2M2 *voucher;
43
44 @property (nonatomic, readonly) BOOL hasSupportsOctagon;
45 @property (nonatomic, retain) OTSupportOctagonMessage *supportsOctagon;
46
47 @property (nonatomic, readonly) BOOL hasSupportsSOS;
48 @property (nonatomic, retain) OTSupportSOSMessage *supportsSOS;
49
50 // Performs a shallow copy into other
51 - (void)copyTo:(OTPairingMessage *)other;
52
53 // Performs a deep merge from other into self
54 // If set in other, singular values in self are replaced in self
55 // Singular composite values are recursively merged
56 // Repeated values from other are appended to repeated values in self
57 - (void)mergeFrom:(OTPairingMessage *)other;
58
59 OTPAIRINGMESSAGE_FUNCTION BOOL OTPairingMessageReadFrom(__unsafe_unretained OTPairingMessage *self, __unsafe_unretained PBDataReader *reader);
60
61 @end
62