OTClientVoucherOperation.h [plain text]
#if OCTAGON
#import <Foundation/Foundation.h>
#import "keychain/ckks/CKKSGroupOperation.h"
#import "keychain/ot/OctagonStateMachineHelpers.h"
#import "keychain/ot/OTOperationDependencies.h"
#import "OTDeviceInformation.h"
@class OTCuttlefishContext;
NS_ASSUME_NONNULL_BEGIN
@interface OTClientVoucherOperation : CKKSGroupOperation <OctagonStateTransitionOperationProtocol>
@property OctagonState* nextState;
- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithDependencies:(OTOperationDependencies*)dependencies
intendedState:(OctagonState*)intendedState
errorState:(OctagonState*)errorState
deviceInfo:(nonnull OTDeviceInformation *)deviceInfo
peerID:(nonnull NSString *)peerID
permanentInfo:(nonnull NSData *)permanentInfo
permanentInfoSig:(nonnull NSData *)permanentInfoSig
stableInfo:(nonnull NSData *)stableInfo
stableInfoSig:(nonnull NSData *)stableInfoSig;
@property (weak) OTCuttlefishContext* cuttlefishContext;
@property (nonatomic) NSString* peerID;
@property (nonatomic) NSData* permanentInfo;
@property (nonatomic) NSData* permanentInfoSig;
@property (nonatomic) NSData* stableInfo;
@property (nonatomic) NSData* stableInfoSig;
@property OTDeviceInformation* deviceInfo;
@property (nonatomic) NSData* voucher;
@property (nonatomic) NSData* voucherSig;
@end
NS_ASSUME_NONNULL_END
#endif // OCTAGON