CKKSMockSOSPresentAdapter.h [plain text]
#import <Foundation/Foundation.h>
#if OCTAGON
#import "keychain/ot/OTSOSAdapter.h"
#include "keychain/SecureObjectSync/SOSAccount.h"
NS_ASSUME_NONNULL_BEGIN
@interface CKKSMockSOSPresentAdapter : NSObject <OTSOSAdapter>
@property (nullable) NSError* selfPeerError;
@property (nullable) NSError* trustedPeersError;
@property bool excludeSelfPeerFromTrustSet;
@property SOSCCStatus circleStatus;
@property CKKSSOSSelfPeer* selfPeer;
@property NSMutableSet<id<CKKSSOSPeerProtocol>>* trustedPeers;
@property (nullable) void (^updateOctagonKeySetListener)(id<CKKSSelfPeer>);
- (instancetype)initWithSelfPeer:(CKKSSOSSelfPeer*)selfPeer
trustedPeers:(NSSet<id<CKKSSOSPeerProtocol>>*)trustedPeers
essential:(BOOL)essential;
- (NSSet<id<CKKSRemotePeerProtocol>>*)allPeers;
@end
NS_ASSUME_NONNULL_END
#endif // OCTAGON