]> git.saurik.com Git - apple/security.git/blob - keychain/ot/OTSOSUpgradeOperation.h
Security-59754.60.13.tar.gz
[apple/security.git] / keychain / ot / OTSOSUpgradeOperation.h
1
2 #if OCTAGON
3
4 #import <Foundation/Foundation.h>
5 #import <TrustedPeers/TrustedPeers.h>
6 #import "keychain/ckks/CKKSGroupOperation.h"
7 #import "keychain/ot/OctagonStateMachineHelpers.h"
8 #import "keychain/ot/OTStates.h"
9 #import "keychain/ot/OTSOSAdapter.h"
10
11 #import "keychain/ot/proto/generated_source/OTAccountMetadataClassC.h"
12 #import "keychain/ot/OTDeviceInformation.h"
13
14 NS_ASSUME_NONNULL_BEGIN
15
16 @class OTOperationDependencies;
17
18 @interface OTSOSUpgradeOperation : CKKSGroupOperation <OctagonStateTransitionOperationProtocol>
19
20 @property (readonly, nullable) TPPolicyVersion* policyOverride;
21
22 - (instancetype)initWithDependencies:(OTOperationDependencies*)dependencies
23 intendedState:(OctagonState*)intendedState
24 ckksConflictState:(OctagonState*)ckksConflictState
25 errorState:(OctagonState*)errorState
26 deviceInfo:(OTDeviceInformation*)deviceInfo
27 policyOverride:(TPPolicyVersion* _Nullable)policyOverride;
28
29 @end
30
31 NS_ASSUME_NONNULL_END
32
33 #endif // OCTAGON
34