2 // SOSAccountTrustClassic+Identity.h
6 #ifndef SOSAccountTrustClassic_Identity_h
7 #define SOSAccountTrustClassic_Identity_h
9 #import "keychain/SecureObjectSync/SOSAccountTrustClassic.h"
11 @
class SOSAccountTrustClassic
;
13 @interface
SOSAccountTrustClassic (Identity
)
15 -(bool) updateFullPeerInfo
:(SOSAccount
*)account minimum
:(CFSetRef
)minimumViews excluded
:(CFSetRef
)excludedViews
;
16 -(SOSFullPeerInfoRef
) getMyFullPeerInfo
;
17 -(bool) fullPeerInfoVerify
:(SecKeyRef
) privKey err
:(CFErrorRef
*)error
;
18 -(bool) hasFullPeerInfo
:(CFErrorRef
*) error
;
19 -(SOSFullPeerInfoRef
) CopyAccountIdentityPeerInfo CF_RETURNS_RETAINED
;
20 -(bool) ensureFullPeerAvailable
:(SOSAccount
*)account err
:(CFErrorRef
*) error
;
21 -(bool) isMyPeerActive
:(CFErrorRef
*) error
;
22 -(void) purgeIdentity
;
24 - (void)ensureOctagonPeerKeys
:(SOSKVSCircleStorageTransport
*)circleTransport
;
29 #endif /* SOSAccountTrustClassic_Identity_h */