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§

Required Methods§

source

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.

Implementors§