]> git.saurik.com Git - apple/security.git/blob - keychain/ckks/tests/CKKSTests+MultiZone.h
Security-59306.80.4.tar.gz
[apple/security.git] / keychain / ckks / tests / CKKSTests+MultiZone.h
1
2 #ifndef CKKSTests_MultiZone_h
3 #define CKKSTests_MultiZone_h
4
5 #if OCTAGON
6
7 #import "keychain/ckks/tests/CloudKitMockXCTest.h"
8 #import "keychain/ckks/tests/CloudKitKeychainSyncingMockXCTest.h"
9
10 @interface CloudKitKeychainSyncingMultiZoneTestsBase : CloudKitKeychainSyncingMockXCTest
11
12 @property CKRecordZoneID* engramZoneID;
13 @property CKKSKeychainView* engramView;
14 @property FakeCKZone* engramZone;
15 @property (readonly) ZoneKeys* engramZoneKeys;
16
17 @property CKRecordZoneID* manateeZoneID;
18 @property CKKSKeychainView* manateeView;
19 @property FakeCKZone* manateeZone;
20 @property (readonly) ZoneKeys* manateeZoneKeys;
21
22 @property CKRecordZoneID* autoUnlockZoneID;
23 @property CKKSKeychainView* autoUnlockView;
24 @property FakeCKZone* autoUnlockZone;
25 @property (readonly) ZoneKeys* autoUnlockZoneKeys;
26
27 @property CKRecordZoneID* healthZoneID;
28 @property CKKSKeychainView* healthView;
29 @property FakeCKZone* healthZone;
30 @property (readonly) ZoneKeys* healthZoneKeys;
31
32 @property CKRecordZoneID* applepayZoneID;
33 @property CKKSKeychainView* applepayView;
34 @property FakeCKZone* applepayZone;
35 @property (readonly) ZoneKeys* applepayZoneKeys;
36
37 @property CKRecordZoneID* homeZoneID;
38 @property CKKSKeychainView* homeView;
39 @property FakeCKZone* homeZone;
40 @property (readonly) ZoneKeys* homeZoneKeys;
41
42 @property CKRecordZoneID* limitedZoneID;
43 @property CKKSKeychainView* limitedView;
44 @property FakeCKZone* limitedZone;
45 @property (readonly) ZoneKeys* limitedZoneKeys;
46
47 - (void)saveFakeKeyHierarchiesToLocalDatabase;
48 - (void)putFakeDeviceStatusesInCloudKit;
49 - (void)putFakeKeyHierachiesInCloudKit;
50 - (void)saveTLKsToKeychain;
51 - (void)deleteTLKMaterialsFromKeychain;
52 - (void)waitForKeyHierarchyReadinesses;
53 - (void)expectCKKSTLKSelfShareUploads;
54
55 @end
56
57 #endif // OCTAGON
58 #endif /* CKKSTests_MultiZone_h */