Expand description
Client platform side of the FIDO Proximity Exchange Protocol (PXP), formerly the CTAP hybrid transport (caBLE).
PXP covers invocation (QR code or state-assisted), proximity proof over a
BLE advertisement, channel negotiation (WebSocket tunnel or BLE L2CAP), the
Noise handshake, and the encrypted message exchange. CTAP messages are
carried as opaque frames. The only CTAP this crate knows is what PXP itself
requires: the getInfo command byte and the getInfo response structure.
libwebauthn builds its hybrid transport on top.
Modules§
- advertisement
- error
- Errors specific to the caBLE / hybrid transport.
- known_
devices - qr_
code_ device - tunnel
- WebSocket tunnel-server transport for the caBLE hybrid protocol.
Structs§
- Tunnel
Handle - A running PXP connection. Dropping it aborts the connection task.
Enums§
- Connect
Target - The CMHD to connect to.
- Connection
State - PxpUpdate
Traits§
- Update
Sink - Receives connection progress updates from the connection task.
Functions§
- connect
- Spawns the connection task for
target. Progress is reported toupdates; CTAP frames are exchanged through the returned handle once connected. - digit_
encode