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-management and ctap2 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.

Object Safety§

This trait is not object safe.

Implementors§