OTPrepareOperation.h [plain text]
#if OCTAGON
#import <Foundation/Foundation.h>
#import <TrustedPeers/TrustedPeers.h>
#import "keychain/ckks/CKKSGroupOperation.h"
#import "keychain/ot/OctagonStateMachineHelpers.h"
#import "keychain/ot/OTCuttlefishAccountStateHolder.h"
#import "keychain/ot/OTDeviceInformation.h"
@class OTOperationDependencies;
NS_ASSUME_NONNULL_BEGIN
@interface OTPrepareOperation : CKKSGroupOperation <OctagonStateTransitionOperationProtocol>
- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithDependencies:(OTOperationDependencies*)dependencies
intendedState:(OctagonState*)intendedState
errorState:(OctagonState*)errorState
deviceInfo:(OTDeviceInformation*)deviceInfo
policyOverride:(TPPolicyVersion* _Nullable)policyOverride
epoch:(uint64_t)epoch;
@property (nonatomic) uint64_t epoch;
@property OTDeviceInformation* deviceInfo;
@property (nullable) NSString* peerID;
@property (nullable) NSData* permanentInfo;
@property (nullable) NSData* permanentInfoSig;
@property (nullable) NSData* stableInfo;
@property (nullable) NSData* stableInfoSig;
@property (nullable) TPPolicyVersion* policyOverride;
@end
NS_ASSUME_NONNULL_END
#endif // OCTAGON