]> git.saurik.com Git - apple/security.git/blob - keychain/TrustedPeersHelper/proto/generated_source/OTRecovery.h
Security-59306.101.1.tar.gz
[apple/security.git] / keychain / TrustedPeersHelper / proto / generated_source / OTRecovery.h
1 // This file was automatically generated by protocompiler
2 // DO NOT EDIT!
3 // Compiled from OTRecovery.proto
4
5 #import <Foundation/Foundation.h>
6 #import <ProtocolBuffer/PBCodable.h>
7
8 #ifdef __cplusplus
9 #define OTRECOVERY_FUNCTION extern "C" __attribute__((visibility("hidden")))
10 #else
11 #define OTRECOVERY_FUNCTION extern __attribute__((visibility("hidden")))
12 #endif
13
14 __attribute__((visibility("hidden")))
15 @interface OTRecovery : PBCodable <NSCopying>
16 {
17 NSData *_encryptionSPKI;
18 NSString *_peerID;
19 NSData *_signingSPKI;
20 }
21
22
23 @property (nonatomic, readonly) BOOL hasPeerID;
24 @property (nonatomic, retain) NSString *peerID;
25
26 @property (nonatomic, readonly) BOOL hasSigningSPKI;
27 /** as SubjectPublicKeyInfo (SPKI): */
28 @property (nonatomic, retain) NSData *signingSPKI;
29
30 @property (nonatomic, readonly) BOOL hasEncryptionSPKI;
31 @property (nonatomic, retain) NSData *encryptionSPKI;
32
33 // Performs a shallow copy into other
34 - (void)copyTo:(OTRecovery *)other;
35
36 // Performs a deep merge from other into self
37 // If set in other, singular values in self are replaced in self
38 // Singular composite values are recursively merged
39 // Repeated values from other are appended to repeated values in self
40 - (void)mergeFrom:(OTRecovery *)other;
41
42 OTRECOVERY_FUNCTION BOOL OTRecoveryReadFrom(__unsafe_unretained OTRecovery *self, __unsafe_unretained PBDataReader *reader);
43
44 @end
45