]> git.saurik.com Git - apple/security.git/blob - keychain/ckks/CKKSStates.h
Security-59754.41.1.tar.gz
[apple/security.git] / keychain / ckks / CKKSStates.h
1
2 #if OCTAGON
3
4 #import <Foundation/Foundation.h>
5 #import "keychain/ckks/CKKSKeychainView.h"
6 #import "keychain/ckks/CKKSGroupOperation.h"
7 #import "keychain/ot/OctagonStateMachine.h"
8
9 NS_ASSUME_NONNULL_BEGIN
10
11 // Flag initialization
12 typedef OctagonFlag CKKSFlag;
13
14 // The set of trusted peers has changed
15 extern CKKSFlag* const CKKSFlagTrustedPeersSetChanged;
16
17 // A client has requested that TLKs be created
18 extern CKKSFlag* const CKKSFlagTLKCreationRequested;
19 // We were waiting for a TLK upload, and one has occurred
20 extern CKKSFlag* const CKKSFlagKeyStateTLKsUploaded;
21
22 extern CKKSFlag* const CKKSFlagCloudKitLoggedIn;
23 extern CKKSFlag* const CKKSFlagCloudKitLoggedOut;
24
25 extern CKKSFlag* const CKKSFlagBeginTrustedOperation;
26 extern CKKSFlag* const CKKSFlagEndTrustedOperation;
27
28 extern CKKSFlag* const CKKSFlagChangeTokenExpired;
29 extern CKKSFlag* const CKKSFlagCloudKitZoneMissing;
30
31 extern CKKSFlag* const CKKSFlagDeviceUnlocked;
32
33 extern CKKSFlag* const CKKSFlagFetchRequested;
34 // Added when a key hierarchy fetch completes.
35 extern CKKSFlag* const CKKSFlagFetchComplete;
36
37 extern CKKSFlag* const CKKSFlagKeyStateProcessRequested;
38
39 extern CKKSFlag* const CKKSFlagProcessIncomingQueue;
40 extern CKKSFlag* const CKKSFlagProcessOutgoingQueue;
41 extern CKKSFlag* const CKKSFlagScanLocalItems;
42 extern CKKSFlag* const CKKSFlagItemReencryptionNeeded;
43
44 extern CKKSFlag* const CKKSFlag24hrNotification;
45
46 NSSet<CKKSFlag*>* CKKSAllStateFlags(void);
47
48 NS_ASSUME_NONNULL_END
49
50 #endif