]> git.saurik.com Git - apple/security.git/blame_incremental - keychain/TrustedPeersHelper/proto/generated_source/Recovery.h
Security-59754.80.3.tar.gz
[apple/security.git] / keychain / TrustedPeersHelper / proto / generated_source / Recovery.h
... / ...
CommitLineData
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 RECOVERY_FUNCTION extern "C" __attribute__((visibility("hidden")))
10#else
11#define RECOVERY_FUNCTION extern __attribute__((visibility("hidden")))
12#endif
13
14__attribute__((visibility("hidden")))
15@interface Recovery : 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:(Recovery *)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:(Recovery *)other;
41
42RECOVERY_FUNCTION BOOL RecoveryReadFrom(__unsafe_unretained Recovery *self, __unsafe_unretained PBDataReader *reader);
43
44@end
45