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