Module commands

Source
Available on crate feature ctap2 only.
Expand description

CTAP 2 commands.

Structs§

BioEnrollmentRequestctap2-management
CTAP 2.1 authenticatorBioEnrollment command (0x09).
BioEnrollmentResponsectap2-management
authenticatorBioEnrollment response type.
ClientPinRequest
authenticatorclientPin request type.
ClientPinResponse
authenticatorClientPin response type.
ConfigRequestctap2-management
authenticatorConfig request type.
CredentialManagementRequestctap2-management
CTAP 2.1 authenticatorCredentialManagement command (0x0a).
CredentialManagementResponsectap2-management
authenticatorCredentialManagement response type.
CredentialStorageMetadatactap2-management
Discoverable credential storage metadata, returned by CredentialManagementAuthenticator::get_credentials_metadata().
DiscoverableCredentialctap2-management
GetAssertionRequest
authenticatorGetAssertion request type.
GetAssertionResponse
authenticatorGetAssertion response type.
GetInfoRequest
authenticatorGetInfo request type.
GetInfoResponse
authenticatorGetInfo response type.
MakeCredentialRequest
authenticatorMakeCredential request type.
MakeCredentialResponse
authenticatorMakeCredential response type.
NoResponse
Type for commands which have no response data.
Permissions
Permissions bitfield for GetPinUvAuthTokenUsingUvWithPermissions and GetPinUvAuthTokenUsingPinWithPermissions.
PrototypeBioEnrollmentRequestctap2-management
CTAP 2.1-PRE prototype authenticatorBioEnrollment command (0x40).
PrototypeCredentialManagementRequestctap2-management
CTAP 2.1-PRE prototype authenticatorCredentialManagement command (0x41).
PublicKeyCredentialDescriptorCMctap2-management
RelyingPartyCMctap2-management
Potentially-abridged form of RelyingParty for credential management.
ResetRequestctap2-management
authenticatorReset request type.
SelectionRequest
authenticatorSelection request type.
SetMinPinLengthParamsctap2-management
Parameters for setting minimum PIN length in a ConfigRequest.
TemplateInfoctap2-management
Metadata about a stored fingerprint.
UserCMctap2-management
User entity

Enums§

BioSubCommandctap2-management
Wrapper for biometric command types, which can be passed to BioEnrollmentRequestTrait::new.
ClientPinSubCommand
ClientPinRequest::sub_command type code
ConfigSubCommandctap2-management
Subcommands for ConfigRequest.
CredSubCommandctap2-management
Wrapper for credential management command types, which can be passed to CredentialManagementRequestTrait::new.
FingerprintKindctap2-management
The type of fingerprint sensor on the device.
Modalityctap2-management
Modality for biometric authentication.

Traits§

BioEnrollmentRequestTraitctap2-management
Common functionality for CTAP 2.1 and 2.1-PRE BioEnrollment request types.
CBORCommand
Common trait for all CBOR commands.
CBORResponse
Common trait for all CBOR responses.
CredentialManagementRequestTraitctap2-management
Common functionality for CTAP 2.1 and 2.1-PRE CredentialManegement request types.

Functions§

to_extended_apdu
Converts a CTAP v2 command into a form suitable for transmission with extended ISO/IEC 7816-4 APDUs (over NFC).
to_short_apdus
Converts a CTAP v2 command into a form suitable for transmission with short ISO/IEC 7816-4 APDUs (over NFC).