Contents

SecurityMessage

A structure that carries key material for negotiating a secure channel between the system and an accessory.

Declaration

struct SecurityMessage

Mentioned in

Overview

Your AccessoryTransportSecurity extension sends instances of this type to initiate key exchange and receives them during messageReceived(_:completion:) to complete the exchange.

Topics

Creating security messages

Accessing key material

Determining encryption method

Specifying transport preferences

Deriving HPKE keys

See Also

Data and sessions