]> git.saurik.com Git - apple/security.git/blob - keychain/ot/proto/generated_source/OTSponsorToApplicantRound2M2.h
Security-59306.11.20.tar.gz
[apple/security.git] / keychain / ot / proto / generated_source / OTSponsorToApplicantRound2M2.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 #ifdef __cplusplus
9 #define OTSPONSORTOAPPLICANTROUND2M2_FUNCTION extern "C" __attribute__((visibility("hidden")))
10 #else
11 #define OTSPONSORTOAPPLICANTROUND2M2_FUNCTION extern __attribute__((visibility("hidden")))
12 #endif
13
14 __attribute__((visibility("hidden")))
15 @interface OTSponsorToApplicantRound2M2 : PBCodable <NSCopying>
16 {
17 NSMutableArray<NSData *> *_preapprovedKeys;
18 NSData *_voucher;
19 NSData *_voucherSignature;
20 }
21
22
23 @property (nonatomic, readonly) BOOL hasVoucher;
24 @property (nonatomic, retain) NSData *voucher;
25
26 @property (nonatomic, readonly) BOOL hasVoucherSignature;
27 @property (nonatomic, retain) NSData *voucherSignature;
28
29 @property (nonatomic, retain) NSMutableArray<NSData *> *preapprovedKeys;
30 - (void)clearPreapprovedKeys;
31 - (void)addPreapprovedKeys:(NSData *)i;
32 - (NSUInteger)preapprovedKeysCount;
33 - (NSData *)preapprovedKeysAtIndex:(NSUInteger)idx;
34 + (Class)preapprovedKeysType;
35
36 // Performs a shallow copy into other
37 - (void)copyTo:(OTSponsorToApplicantRound2M2 *)other;
38
39 // Performs a deep merge from other into self
40 // If set in other, singular values in self are replaced in self
41 // Singular composite values are recursively merged
42 // Repeated values from other are appended to repeated values in self
43 - (void)mergeFrom:(OTSponsorToApplicantRound2M2 *)other;
44
45 OTSPONSORTOAPPLICANTROUND2M2_FUNCTION BOOL OTSponsorToApplicantRound2M2ReadFrom(__unsafe_unretained OTSponsorToApplicantRound2M2 *self, __unsafe_unretained PBDataReader *reader);
46
47 @end
48