Skip to main content

Module remote_pairing

Module remote_pairing 

Source
Expand description

Remote Pairing

Re-exports§

pub use tunnel::connect_tls_psk_tunnel;
pub use tunnel::CdTunnel;
pub use tunnel::TunnelInfo;
pub use tunnel::connect_tls_psk_tunnel_native;

Modules§

errors
tls_psk
Manual TLS 1.2 PSK-AES128-CBC-SHA implementation.
tunnel
TLS-PSK tunnel connect helpers for remote pairing.

Structs§

PairableHost
The responder side of rppairing: accepts a device-initiated pairing.
PairableHostInfo
Static information this host advertises and presents to a connecting device.
PeerDevice
RemotePairingClient
RemotePairingLockdownService
A connection to the remotepairingdeviced control channel.
RpPairingFile
RpPairingSocket

Constants§

PAIRABLE_HOST_SERVICE_TYPE
The DNS-SD service type a pairable host advertises over mDNS. A device browses for this and, when the user taps “Pair with …”, connects to the advertised host/port and drives the rppairing conversation handled by PairableHost.

Traits§

RpPairingSocketProvider

Functions§

compute_auth_tag
Computes the 6-byte mDNS authTag for the given alt_irk and service_identifier.