]> git.saurik.com Git - apple/security.git/blob - keychain/ot/OctagonCKKSPeerAdapter.h
Security-59306.101.1.tar.gz
[apple/security.git] / keychain / ot / OctagonCKKSPeerAdapter.h
1
2 #if OCTAGON
3
4 #import <Foundation/Foundation.h>
5 #import "keychain/ot/OTOperationDependencies.h"
6 #import "keychain/ckks/CKKSPeer.h"
7
8 NS_ASSUME_NONNULL_BEGIN
9
10 @interface OctagonSelfPeer : NSObject <CKKSSelfPeer>
11
12 - (instancetype)init NS_UNAVAILABLE;
13 - (instancetype)initWithPeerID:(NSString*)peerID
14 signingIdentity:(SFIdentity*)signingIdentity
15 encryptionIdentity:(SFIdentity*)encryptionIdentity;
16
17 @end
18
19 @interface OctagonCKKSPeerAdapter : NSObject <CKKSPeerProvider>
20
21 @property (nullable) NSString* peerID;
22 @property OTOperationDependencies* deps;
23
24 - (instancetype)init NS_UNAVAILABLE;
25 - (instancetype)initWithPeerID:(NSString*)peerID operationDependencies:(OTOperationDependencies*)deps;
26 @end
27
28 NS_ASSUME_NONNULL_END
29
30 #endif