]> git.saurik.com Git - apple/security.git/blob - keychain/ot/proto/generated_source/OTCDPRecoveryInformation.h
Security-59754.80.3.tar.gz
[apple/security.git] / keychain / ot / proto / generated_source / OTCDPRecoveryInformation.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 #ifdef __cplusplus
9 #define OTCDPRECOVERYINFORMATION_FUNCTION extern "C"
10 #else
11 #define OTCDPRECOVERYINFORMATION_FUNCTION extern
12 #endif
13
14 @interface OTCDPRecoveryInformation : PBCodable <NSCopying>
15 {
16 NSString *_recoveryKey;
17 NSString *_recoverySecret;
18 BOOL _containsIcdpData;
19 BOOL _silentRecoveryAttempt;
20 BOOL _useCachedSecret;
21 BOOL _usePreviouslyCachedRecoveryKey;
22 BOOL _usesMultipleIcsc;
23 struct {
24 int containsIcdpData:1;
25 int silentRecoveryAttempt:1;
26 int useCachedSecret:1;
27 int usePreviouslyCachedRecoveryKey:1;
28 int usesMultipleIcsc:1;
29 } _has;
30 }
31
32
33 @property (nonatomic, readonly) BOOL hasRecoverySecret;
34 @property (nonatomic, retain) NSString *recoverySecret;
35
36 @property (nonatomic) BOOL hasUseCachedSecret;
37 @property (nonatomic) BOOL useCachedSecret;
38
39 @property (nonatomic, readonly) BOOL hasRecoveryKey;
40 @property (nonatomic, retain) NSString *recoveryKey;
41
42 @property (nonatomic) BOOL hasUsePreviouslyCachedRecoveryKey;
43 @property (nonatomic) BOOL usePreviouslyCachedRecoveryKey;
44
45 @property (nonatomic) BOOL hasSilentRecoveryAttempt;
46 @property (nonatomic) BOOL silentRecoveryAttempt;
47
48 @property (nonatomic) BOOL hasContainsIcdpData;
49 @property (nonatomic) BOOL containsIcdpData;
50
51 @property (nonatomic) BOOL hasUsesMultipleIcsc;
52 @property (nonatomic) BOOL usesMultipleIcsc;
53
54 // Performs a shallow copy into other
55 - (void)copyTo:(OTCDPRecoveryInformation *)other;
56
57 // Performs a deep merge from other into self
58 // If set in other, singular values in self are replaced in self
59 // Singular composite values are recursively merged
60 // Repeated values from other are appended to repeated values in self
61 - (void)mergeFrom:(OTCDPRecoveryInformation *)other;
62
63 OTCDPRECOVERYINFORMATION_FUNCTION BOOL OTCDPRecoveryInformationReadFrom(__unsafe_unretained OTCDPRecoveryInformation *self, __unsafe_unretained PBDataReader *reader);
64
65 @end
66