Table of Contents

Class AirPlayConnectionAuth

Namespace
AppleTvControlLibrary.Mrp.AirPlay.Auth
Assembly
AppleTvControlLibrary.Mrp.dll

Runs Pair-Verify on an AirPlay control connection and enables HAP session encryption on it.

public static class AirPlayConnectionAuth
Inheritance
AirPlayConnectionAuth
Inherited Members

Methods

VerifyConnectionAsync(HapCredentials, HttpConnection)

Perform Pair-Verify on a connection and enable HAP session encryption if credentials are HAP-typed.

public static Task<AirPlayHapPairVerifyProcedure> VerifyConnectionAsync(HapCredentials credentials, HttpConnection connection)

Parameters

credentials HapCredentials

The previously-paired credentials for the device.

connection HttpConnection

The AirPlay control connection to verify and, on success, encrypt.

Returns

Task<AirPlayHapPairVerifyProcedure>

The verify procedure, so callers can derive further channel encryption keys from it.