Skip to main content

Crate bitwarden_fido

Crate bitwarden_fido 

Source
Expand description

Β§Bitwarden Fido

Contains the FIDO2 implementation for Bitwarden Password Manager.

ModulesΒ§

authenticator πŸ”’
client πŸ”’
client_fido πŸ”’
crypto πŸ”’
device_auth_key πŸ”’
traits πŸ”’
types πŸ”’
uniffi_support πŸ”’

StructsΒ§

AuthenticatorAssertionResponse
AuthenticatorAttestationResponse
CheckUserOptions
CheckUserResult
CipherViewContainer πŸ”’
ClientFido2
DeviceAuthKeyAuthenticator
A FIDO authenticator that uses the device auth key for its key material.
DeviceAuthKeyGetAssertionResult
Fields corresponding to a WebAuthn PublicKeyCredential with an AuthenticatorAssertionResponse.
DeviceAuthKeyMetadata
The metadata for the device auth key useful for looking up whether the authenticator can satisfy a given request before invoking user-verifying access control.
DeviceAuthKeyRecord
The private key material for the device auth key. This should be stored separately from the metadata and gated behind user-verifying access control.
Fido2Authenticator
Fido2Client
Fido2CredentialAutofillView
GetAssertionExtensionsInput
WebAuthn extension input for WebAuthn authentication extensions.
GetAssertionExtensionsOutput
WebAuthn extension output of an authentication ceremony.
GetAssertionPrfInput
Input for WebAuthn PRF extension during authentication ceremonies.
GetAssertionPrfOutput
WebAuthn PRF extension output during an authentication ceremony.
GetAssertionRequest
Type representing data from WebAuthn’s PublicKeyCredentialRequestOptions.
GetAssertionResult
Fields corresponding to a WebAuthn PublicKeyCredential with an AuthenticatorAssertionResponse.
InvalidGuidError
InvalidInputLengthError
MakeCredentialExtensionsInput
WebAuthn extension input for WebAuthn registration extensions.
MakeCredentialExtensionsOutput
WebAuthn extension output for registration extensions.
MakeCredentialPrfInput
WebAuthn PRF extension input for use during registration.
MakeCredentialPrfOutput
WebAuthn PRF extension output used during registration.
MakeCredentialRequest
MakeCredentialResult
Fields corresponding to a WebAuthn PublicKeyCredential with an AuthenticatorAttestationResponse.
Options
PrfInputValues
Salt inputs for WebAuthn PRF extension.
PrfOutputValues
WebAuthn PRF output values.
PublicKeyCredentialAuthenticatorAssertionResponse
PublicKeyCredentialAuthenticatorAttestationResponse
PublicKeyCredentialRpEntity
PublicKeyCredentialUserEntity
SelectedCredential
UnknownEnumError
UnverifiedAssetLink
An Unverified asset link.

EnumsΒ§

ClientData
CredentialsForAutofillError
DecryptFido2AutofillCredentialsError
DeviceAuthKeyError
Errors related to processing the device auth key.
Fido2CallbackError
Fido2ClientError
Fido2CredentialAutofillViewError
Fido2Error
FillCredentialError
GetAssertionError
MakeCredentialError
Origin
The origin of a WebAuthn request.
SilentlyDiscoverCredentialsError
UiHint
Additional information that can be displayed to the user if the authenticator has a display.
Verification

ConstantsΒ§

AAGUID πŸ”’
UNIFFI_META_CONST_BITWARDEN_FIDO_RECORD_SELECTEDCREDENTIAL πŸ”’
UNIFFI_META_CONST_NAMESPACE_BITWARDEN_FIDO πŸ”’
Export namespace metadata.

TraitsΒ§

ClientFido2Ext
DeviceAuthKeyStore
A trait used to interact with the device auth key data on the device.
Fido2CredentialStore
Fido2UserInterface

FunctionsΒ§

fill_with_credential
get_enum_from_string_name πŸ”’
get_string_name_from_enum πŸ”’
guid_bytes_to_string
string_to_guid_bytes
try_from_credential_full πŸ”’
try_from_credential_full_view πŸ”’
try_from_credential_new_view πŸ”’