fido2_client library

Public API for the FIDO2 client (CTAP).

Classes

AuthenticatorInfo
CTAP2 authenticatorGetInfo response structure (spec §6.4).
ClientPin
ClientPinRequest
CTAP2 authenticatorClientPIN (0x06) request (spec §6.5.5).
ClientPinResponse
CTAP2 authenticatorClientPIN (0x06) response (spec §6.5.5).
CmCredential
CmCredentialMetadata
Credential fields returned by metadata-only enumeration.
CmMetadata
CmRp
CoseConfiguration
CoseKey
Parsing checks structure. validate checks mathematical validity in Rust.
CredentialManagement
CredentialManagementRequest
CTAP2 authenticatorCredentialManagement (0x0A) request (spec §6.8).
CredentialManagementResponse
CTAP2 authenticatorCredentialManagement (0x0A) response (spec §6.8).
Ctap2
CtapDevice
CtapResponse<T>
EcdhEsHkdf256
Ed25519
EdDSA
EncapsulateResult
ES256
GetAssertionRequest
CTAP2 authenticatorGetAssertion (0x02) request (spec §6.2).
GetAssertionResponse
CTAP2 authenticatorGetAssertion (0x02) response (spec §6.2).
GetInfoRequest
CTAP2 authenticatorGetInfo (0x04) request.
MakeCredentialRequest
CTAP2 authenticatorMakeCredential (0x01) request (spec §6.1).
MakeCredentialResponse
CTAP2 authenticatorMakeCredential (0x01) response (spec §6.1).
MLDSA
MLDSA44
MLDSA65
MLDSA87
PinProtocol
PinProtocolV1
PinProtocolV2
PublicKeyCredentialDescriptor
Identifies a specific credential (spec §5.8.3). Used to hint which credentials to create or allow during operations.
PublicKeyCredentialRpEntity
WebAuthn Relying Party (RP) parameters used during credential creation (see spec §5.4.2). Contains the RP identifier.
PublicKeyCredentialUserEntity
WebAuthn user account parameters for credential creation (spec §5.4.3). Includes an opaque user handle and human-readable names.
RustCrypto
All cryptographic operations use the shared Rust native/WASM core.
SM2
Sm2Configuration
Explicit EC2 compatibility profile: SM2 has no IANA COSE allocation.
UnsupportedKey

Exceptions / Errors

CryptoException
CtapError
Represents an error retuned by CTAP device