Expand description
Pure Rust CTAP (Client to Authenticator Protocol) implementation
This crate provides the CTAP 2.0/2.1 protocol logic for FIDO2 authenticators.
Implements the FIDO2 specification: https://fidoalliance.org/specs/fido-v2.2-rd-20230321/fido-client-to-authenticator-protocol-v2.2-rd-20230321.html
Re-exports§
pub use authenticator::Authenticator;pub use authenticator::AuthenticatorConfig;pub use callbacks::AuthenticatorCallbacks;pub use callbacks::CredentialStorageCallbacks;pub use callbacks::PinStorageCallbacks;pub use callbacks::UpResult;pub use callbacks::UserInteractionCallbacks;pub use callbacks::UvResult;pub use dispatcher::CommandDispatcher;pub use pin_token::Permission;pub use pin_token::PinToken;pub use pin_token::PinTokenManager;pub use sec_bytes::SecBytes;pub use sec_bytes::SecPinHash;pub use status::Result;pub use status::StatusCode;pub use types::CoseAlgorithm;pub use types::CredProtect;pub use types::Credential;pub use types::PinState;pub use types::PublicKeyCredentialDescriptor;pub use types::PublicKeyCredentialParameters;pub use types::RelyingParty;pub use types::User;
Modules§
- authenticator
- CTAP Authenticator state machine
- callbacks
- Callback traits for authenticator user interaction and credential storage
- cbor
- CBOR encoding and decoding for CTAP protocol using cbor4ii
- commands
- CTAP command handlers
- dispatcher
- CTAP Command Dispatcher
- extensions
- CTAP Extension Processing
- pin_
token - PIN token management
- sec_
bytes - Secure byte storage for sensitive data
- status
- CTAP2 status codes
- types
- CTAP data types