Show / Hide Table of Contents

AuthenticateCommand Class

Namespace: Yubico.YubiKey.U2f.Commands Assembly: Yubico.YubiKey.dll

Calls on the YubiKey to authenticate U2F data.

C#
public sealed class AuthenticateCommand : U2fBufferCommand, IYubiKeyCommand<AuthenticateResponse>
Inheritance object U2fBuffer U2fBufferCommand AuthenticateCommand
Implements
IYubiKeyCommand<AuthenticateResponse>

Remarks

The partner Response class is AuthenticateResponse.

Constructors

Name Description
AuthenticateCommand()

Creates an instance of the command.

AuthenticateCommand(U2fAuthenticationType, ReadOnlyMemory<byte>, ReadOnlyMemory<byte>, ReadOnlyMemory<byte>)

Creates an instance of the command with the given auth type, client data hash, app ID, and key handle.

Properties

Name Description
ControlByte

The authentication type that will be performed.

KeyHandle

The private key handle to be used to sign the challenge. This is the key handle returned by the YubiKey during registration.

Methods

Name Description
CreateResponseForApdu(ResponseApdu)

Creates the corresponding IYubiKeyResponse implementation for the current command.

In this article
Back to top Generated by DocFX