]> git.saurik.com Git - apple/security.git/blobdiff - keychain/ckks/CKKSCurrentKeyPointer.h
Security-58286.260.20.tar.gz
[apple/security.git] / keychain / ckks / CKKSCurrentKeyPointer.h
index a26b2b42c9e85001c7f2d4402d896c2582e3fe2f..99bfb5e848a0416517dc83a4f5b90b508dfec442 100644 (file)
@@ -26,6 +26,8 @@
 #import "keychain/ckks/CKKS.h"
 #import "keychain/ckks/CKKSItem.h"
 #import "keychain/ckks/CKKSKey.h"
 #import "keychain/ckks/CKKS.h"
 #import "keychain/ckks/CKKSItem.h"
 #import "keychain/ckks/CKKSKey.h"
+#import "keychain/ckks/CKKSTLKShare.h"
+
 
 #if OCTAGON
 
 
 #if OCTAGON
 
 - (instancetype)initForClass:(CKKSKeyClass*)keyclass
               currentKeyUUID:(NSString*)currentKeyUUID
                       zoneID:(CKRecordZoneID*)zoneID
 - (instancetype)initForClass:(CKKSKeyClass*)keyclass
               currentKeyUUID:(NSString*)currentKeyUUID
                       zoneID:(CKRecordZoneID*)zoneID
-             encodedCKRecord: (NSData*) encodedrecord;
+             encodedCKRecord:(NSData*)encodedrecord;
 
 
-+ (instancetype) fromDatabase: (CKKSKeyClass*) keyclass zoneID:(CKRecordZoneID*)zoneID error: (NSError * __autoreleasing *) error;
-+ (instancetype) tryFromDatabase: (CKKSKeyClass*) keyclass zoneID:(CKRecordZoneID*)zoneID error: (NSError * __autoreleasing *) error;
++ (instancetype)fromDatabase:(CKKSKeyClass*)keyclass zoneID:(CKRecordZoneID*)zoneID error:(NSError* __autoreleasing*)error;
++ (instancetype)tryFromDatabase:(CKKSKeyClass*)keyclass zoneID:(CKRecordZoneID*)zoneID error:(NSError* __autoreleasing*)error;
 
 
-+ (instancetype) forKeyClass: (CKKSKeyClass*) keyclass withKeyUUID: (NSString*) keyUUID zoneID:(CKRecordZoneID*)zoneID error: (NSError * __autoreleasing *) error;
++ (instancetype)forKeyClass:(CKKSKeyClass*)keyclass
+                withKeyUUID:(NSString*)keyUUID
+                     zoneID:(CKRecordZoneID*)zoneID
+                      error:(NSError* __autoreleasing*)error;
 
 
-+ (NSArray<CKKSCurrentKeyPointer*>*)all:(CKRecordZoneID*)zoneID error: (NSError * __autoreleasing *) error;
-+ (bool) deleteAll:(CKRecordZoneID*) zoneID error: (NSError * __autoreleasing *) error;
++ (NSArray<CKKSCurrentKeyPointer*>*)all:(CKRecordZoneID*)zoneID error:(NSError* __autoreleasing*)error;
++ (bool)deleteAll:(CKRecordZoneID*)zoneID error:(NSError* __autoreleasing*)error;
 
 @end
 
 
 @end
 
 @property CKKSCurrentKeyPointer* currentClassAPointer;
 @property CKKSCurrentKeyPointer* currentClassCPointer;
 
 @property CKKSCurrentKeyPointer* currentClassAPointer;
 @property CKKSCurrentKeyPointer* currentClassCPointer;
 
--(instancetype)init;
--(instancetype)initForZone:(CKRecordZoneID*)zoneID;
+@property NSArray<CKKSTLKShare*>* tlkShares;
+
+- (instancetype)init;
+- (instancetype)initForZone:(CKRecordZoneID*)zoneID;
 @end
 
 #endif
 @end
 
 #endif