pub trait BioEnrollmentRequestTrait: CBORCommand<Response = BioEnrollmentResponse> {
const GET_MODALITY: Self;
const GET_FINGERPRINT_SENSOR_INFO: Self;
const FINGERPRINT_CANCEL_CURRENT_ENROLLMENT: Self;
// Required method
fn new(
s: BioSubCommand,
pin_uv_protocol: Option<u32>,
pin_uv_auth_param: Option<Vec<u8>>
) -> Self;
}Available on crate features
ctap2-management and ctap2 only.Expand description
Common functionality for CTAP 2.1 and 2.1-PRE BioEnrollment request types.
Required Associated Constants§
sourceconst GET_MODALITY: Self
const GET_MODALITY: Self
Command to get the supported biometric modality for the authenticator.
sourceconst GET_FINGERPRINT_SENSOR_INFO: Self
const GET_FINGERPRINT_SENSOR_INFO: Self
Command to get information about the authenticator’s fingerprint sensor.
sourceconst FINGERPRINT_CANCEL_CURRENT_ENROLLMENT: Self
const FINGERPRINT_CANCEL_CURRENT_ENROLLMENT: Self
Command to cancel an in-progress fingerprint enrollment.
Required Methods§
sourcefn new(
s: BioSubCommand,
pin_uv_protocol: Option<u32>,
pin_uv_auth_param: Option<Vec<u8>>
) -> Self
fn new( s: BioSubCommand, pin_uv_protocol: Option<u32>, pin_uv_auth_param: Option<Vec<u8>> ) -> Self
Creates a new BioEnrollmentRequest from the given BioSubCommand.
Object Safety§
This trait is not object safe.