fido2_server library

Public API for the FIDO2 server (WebAuthn).

Classes

AttestedCredentialData
Data parsed from the attestedCredentialData block of an authenticatorData buffer. This contains the credential information.
AuthenticationResult
Verified state to persist atomically after successful authentication.
AuthenticatorData
A structured representation of the authenticatorData buffer returned by an authenticator.
CoseConfiguration
CoseKey
Parsing checks structure. validate checks mathematical validity in Rust.
EcdhEsHkdf256
Ed25519
EdDSA
ES256
Fido2Config
Fido2Server
WebAuthn server ceremonies. Callers must store challenges server-side, bind them to the user/session, expire them, and atomically consume them once. Registration supports fmt=none and validates the credential public key.
MLDSA
MLDSA44
MLDSA65
MLDSA87
RegisteredCredential
RegistrationRequest
RegistrationResult
The result of a successful registration verification.
RustCrypto
All cryptographic operations use the shared Rust native/WASM core.
SM2
Sm2Configuration
Explicit EC2 compatibility profile: SM2 has no IANA COSE allocation.
UnsupportedKey
VerificationResult
The result of a successful assertion (verification).

Exceptions / Errors

CryptoException