1 #define OTPairingMachServiceName "com.apple.security.otpaird"
3 #define OTPairingIDSServiceName @"com.apple.private.alloy.octagon"
5 #define OTPairingIDSKeyMessageType @"m"
6 #define OTPairingIDSKeyError @"e"
7 #define OTPairingIDSKeySession @"session"
8 #define OTPairingIDSKeyPacket @"packet"
9 #define OTPairingIDSKeyErrorDeprecated @"error"
11 enum OTPairingIDSMessageType
{
12 OTPairingIDSMessageTypePacket
= 1,
13 OTPairingIDSMessageTypeError
= 2,
14 OTPairingIDSMessageTypePoke
= 3,
17 #define OTPairingXPCKeyOperation "operation"
18 #define OTPairingXPCKeyError "error"
19 #define OTPairingXPCKeySuccess "success"
21 #define OTPairingErrorDomain @"com.apple.security.otpaird"
22 enum OTPairingErrorType
{
24 OTPairingErrorTypeLock
= 1,
25 OTPairingErrorTypeXPC
= 2,
26 OTPairingErrorTypeIDS
= 3,
27 OTPairingErrorTypeRemote
= 4,
28 OTPairingErrorTypeAlreadyIn
= 5,
29 OTPairingErrorTypeBusy
= 6,
30 OTPairingErrorTypeKCPairing
= 7,
34 OTPairingOperationInitiate
= 1,
37 #define OTPairingXPCActivityIdentifier "com.apple.security.otpaird.pairing"
38 #define OTPairingXPCActivityInterval XPC_ACTIVITY_INTERVAL_1_HOUR
40 #define OTPairingXPCActivityPoke "com.apple.security.otpaird.poke"