AuthenticateCommand Class
Namespace: Yubico.YubiKey.U2f.Commands Assembly: Yubico.YubiKey.dllCalls on the YubiKey to authenticate U2F data.
C#
public sealed class AuthenticateCommand : U2fBufferCommand, IYubiKeyCommand<AuthenticateResponse>
Implements
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. |