2 #import <Foundation/Foundation.h>
5 #import "keychain/ot/OTSOSAdapter.h"
6 #include "keychain/SecureObjectSync/SOSAccount.h"
8 NS_ASSUME_NONNULL_BEGIN
10 @interface CKKSMockSOSPresentAdapter
: NSObject
<OTSOSAdapter
>
12 // If you fill these in, the OTSOSAdapter methods will error with these errors.
13 @
property (nullable
) NSError
* selfPeerError
;
14 @
property (nullable
) NSError
* trustedPeersError
;
16 @property BOOL aksLocked
;
18 @property
bool excludeSelfPeerFromTrustSet
;
20 @property SOSCCStatus circleStatus
;
21 @
property (nullable
) NSError
* circleStatusError
;
23 @property CKKSSOSSelfPeer
* selfPeer
;
24 @property NSMutableSet
<id
<CKKSSOSPeerProtocol
>>* trustedPeers
;
26 @property BOOL safariViewEnabled
;
28 @property BOOL ckks4AllStatus
;
29 @property BOOL ckks4AllStatusIsSet
;
31 @
property (nullable
) void (^updateOctagonKeySetListener
)(id
<CKKSSelfPeer
>);
33 - (instancetype
)initWithSelfPeer
:(CKKSSOSSelfPeer
*)selfPeer
34 trustedPeers
:(NSSet
<id
<CKKSSOSPeerProtocol
>>*)trustedPeers
35 essential
:(BOOL
)essential
;
37 - (NSSet
<id
<CKKSRemotePeerProtocol
>>*)allPeers
;