]> git.saurik.com Git - apple/security.git/blob - keychain/escrowrequest/EscrowRequestServer.h
Security-59306.11.20.tar.gz
[apple/security.git] / keychain / escrowrequest / EscrowRequestServer.h
1
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"
7
8 @class SecEscrowPendingRecord;
9 @class CKKSLockStateTracker;
10
11 NS_ASSUME_NONNULL_BEGIN
12
13 extern NSString* ESRPendingSince;
14
15 // For securityd->securityd communication, the EscrowRequestServer can pretend to be SecEscrowRequest
16 @interface EscrowRequestServer : NSObject <EscrowRequestXPCProtocol, SecEscrowRequestable>
17 @property EscrowRequestController* controller;
18
19 - (instancetype)init NS_UNAVAILABLE;
20 - (instancetype)initWithLockStateTracker:(CKKSLockStateTracker*)lockStateTracker;
21
22 + (EscrowRequestServer*)server;
23
24 @end
25
26 NS_ASSUME_NONNULL_END