CredentialManagementRequestTrait

Trait CredentialManagementRequestTrait 

Source
pub trait CredentialManagementRequestTrait: CBORCommand<Response = CredentialManagementResponse> {
    const ENUMERATE_RPS_GET_NEXT: Self;
    const ENUMERATE_CREDENTIALS_GET_NEXT: Self;

    // Required method
    fn new(
        s: CredSubCommand,
        pin_uv_protocol: Option<u32>,
        pin_uv_auth_param: Option<Vec<u8>>,
    ) -> Self;
}
Available on (crate features ctap2) and (crate features ctap2-management) only.
Expand description

Common functionality for CTAP 2.1 and 2.1-PRE CredentialManegement request types.

Required Associated Constants§

Source

const ENUMERATE_RPS_GET_NEXT: Self

Command to get the next RP while enumerating RPs with discoverable credentials on the authenticator.

See also: CredSubCommand::EnumerateRPsBegin

Source

const ENUMERATE_CREDENTIALS_GET_NEXT: Self

Command to get the next credential while enumerating discoverable credentials on the authenticator for an RP.

See also: CredSubCommand::EnumerateCredentialsBegin

Required Methods§

Source

fn new( s: CredSubCommand, pin_uv_protocol: Option<u32>, pin_uv_auth_param: Option<Vec<u8>>, ) -> Self

Creates a new CredentialManagementRequest from the given CredSubCommand.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§