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