]> git.saurik.com Git - apple/security.git/blob - keychain/ot/OTFetchCKKSKeysOperation.h
Security-59306.11.20.tar.gz
[apple/security.git] / keychain / ot / OTFetchCKKSKeysOperation.h
1
2 #if OCTAGON
3
4 #import <Foundation/Foundation.h>
5
6 #import "keychain/ckks/CKKSGroupOperation.h"
7 #import "keychain/ckks/CKKSKeychainBackedKey.h"
8 #import "keychain/ot/OTOperationDependencies.h"
9 #import "keychain/ckks/CKKSTLKShare.h"
10 #import "keychain/ckks/CKKSKeychainView.h"
11
12 NS_ASSUME_NONNULL_BEGIN
13
14 @interface OTFetchCKKSKeysOperation : CKKSGroupOperation
15
16 @property NSArray<CKKSKeychainBackedKeySet*>* viewKeySets;
17
18 // This contains all key sets which couldn't be converted to CKKSKeychainBackedKeySet, due to some error
19 @property NSArray<CKKSCurrentKeySet*>* incompleteKeySets;
20
21 // Any existing TLKShares
22 @property NSArray<CKKSTLKShare*>* tlkShares;
23
24 // Any new TLKShares that CKKS suggested we upload along with this keyset
25 @property NSArray<CKKSTLKShare*>* pendingTLKShares;
26
27 - (instancetype)initWithDependencies:(OTOperationDependencies*)dependencies;
28 - (instancetype)initWithViews:(NSSet<CKKSKeychainView*>*)views;
29 @end
30
31 NS_ASSUME_NONNULL_END
32
33 #endif // OCTAGON