4 #import <Foundation/Foundation.h>
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"
12 NS_ASSUME_NONNULL_BEGIN
14 @interface OTFetchCKKSKeysOperation
: CKKSGroupOperation
16 @property NSArray
<CKKSKeychainBackedKeySet
*>* viewKeySets
;
18 // This contains all key sets which couldn't be converted to CKKSKeychainBackedKeySet, due to some error
19 @property NSArray
<CKKSCurrentKeySet
*>* incompleteKeySets
;
21 // Any existing TLKShares
22 @property NSArray
<CKKSTLKShare
*>* tlkShares
;
24 // Any new TLKShares that CKKS suggested we upload along with this keyset
25 @property NSArray
<CKKSTLKShare
*>* pendingTLKShares
;
27 - (instancetype
)initWithDependencies
:(OTOperationDependencies
*)dependencies
;
28 - (instancetype
)initWithViews
:(NSSet
<CKKSKeychainView
*>*)views
;