1 // This file was automatically generated by protocompiler
3 // Compiled from OTRecovery.proto
5 #import <Foundation/Foundation.h>
6 #import <ProtocolBuffer/PBCodable.h>
9 #define RECOVERY_FUNCTION extern "C" __attribute__((visibility("hidden")))
11 #define RECOVERY_FUNCTION extern __attribute__((visibility("hidden")))
14 __attribute__((visibility("hidden")))
15 @interface Recovery
: PBCodable
<NSCopying
>
17 NSData
*_encryptionSPKI
;
23 @
property (nonatomic
, readonly
) BOOL hasPeerID
;
24 @
property (nonatomic
, retain
) NSString
*peerID
;
26 @
property (nonatomic
, readonly
) BOOL hasSigningSPKI
;
27 /** as SubjectPublicKeyInfo (SPKI): */
28 @
property (nonatomic
, retain
) NSData
*signingSPKI
;
30 @
property (nonatomic
, readonly
) BOOL hasEncryptionSPKI
;
31 @
property (nonatomic
, retain
) NSData
*encryptionSPKI
;
33 // Performs a shallow copy into other
34 - (void)copyTo
:(Recovery
*)other
;
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
;
42 RECOVERY_FUNCTION BOOL
RecoveryReadFrom(__unsafe_unretained Recovery
*self
, __unsafe_unretained PBDataReader
*reader
);