Crate ctaphid_types

Source
Expand description

Data types for the CTAPHID protocol.

See § 11.2 of the CTAP specification for more information.

Structs§

Capabilities
The capabilities of a CTAPHID device.
Channel
A CTAPHID channel.
ContinuationPacket
A CTAPHID continuation packet.
DeviceVersion
The version of a CTAPHID device.
Fragments
An iterator over CTAPHID packets with the data of a CTAPHID message.
InitResponse
The response of the CTAPHID INIT command.
InitializationPacket
A CTAPHID initialization packet.
Message
A CTAPHID message.
PartialMessage
A Message that has been partially assembled from CTAPHID packets.
Transaction
A CTAPHID transaction.
VendorCommand
A CTAPHID vendor command.

Enums§

Command
A CTAPHID command.
DefragmentationError
An error that occured while assembling a CTAPHID message from packets.
DefragmentedMessage
A complete or partial message obtained by assembling one or more CTAPHID packets.
DeviceError
Error code returned by the device for a failed CTAPHID transaction.
FragmentationError
An error that occured while fragmenting a CTAPHID message into packets.
Packet
A CTAPHID packet.
PacketType
The type of a CTAPHID Packet.
ParseError
An error that occured while parsing a CTAPHID packet.
SerializationError
An error that occured while serializing a CTAPHID packet.

Constants§

PROTOCOL_VERSION
The CTAPHID protocol version implemented by this crate.