2 #import <Foundation/Foundation.h>
3 #import <CloudServices/SecureBackup.h>
4 #import <CoreCDP/CDPStateController.h>
5 #import "keychain/escrowrequest/EscrowRequestXPCProtocol.h"
6 #import "keychain/escrowrequest/EscrowRequestController.h"
8 @
class SecEscrowPendingRecord
;
9 @
class CKKSLockStateTracker
;
11 NS_ASSUME_NONNULL_BEGIN
13 extern NSString
* ESRPendingSince
;
15 // For securityd->securityd communication, the EscrowRequestServer can pretend to be SecEscrowRequest
16 @interface EscrowRequestServer
: NSObject
<EscrowRequestXPCProtocol
, SecEscrowRequestable
>
17 @property EscrowRequestController
* controller
;
19 - (instancetype
)init NS_UNAVAILABLE
;
20 - (instancetype
)initWithLockStateTracker
:(CKKSLockStateTracker
*)lockStateTracker
;
22 + (EscrowRequestServer
*)server
;