OTVouchWithBottleOperation.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 OTVouchWithBottleOperation : CKKSGroupOperation <OctagonStateTransitionOperationProtocol>
@property OctagonState* nextState;
- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithDependencies:(OTOperationDependencies*)dependencies
intendedState:(OctagonState*)intendedState
errorState:(OctagonState*)errorState
bottleID:(NSString*)bottleID
entropy:(NSData*)entropy
bottleSalt:(NSString*)bottleSalt
saveVoucher:(BOOL)saveVoucher;
@property (weak) OTCuttlefishContext* cuttlefishContext;
@property (nonatomic) NSString* bottleID;
@property (nonatomic) NSData* entropy;
@property (nonatomic) NSString* bottleSalt;
@property (nonatomic) NSData* voucher;
@property (nonatomic) NSData* voucherSig;
@property (readonly) BOOL saveVoucher;
@end
NS_ASSUME_NONNULL_END
#endif // OCTAGON