Show / Hide Table of Contents

GetPinUvAuthTokenUsingPinCommand Class

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

Gets a new PIN/UV Auth token using the subcommand getPinUvAuthTokenUsingPinWithPermissions.

C#
public class GetPinUvAuthTokenUsingPinCommand : IYubiKeyCommand<GetPinUvAuthTokenResponse>
Inheritance object GetPinUvAuthTokenUsingPinCommand
Implements
IYubiKeyCommand<GetPinUvAuthTokenResponse>

Remarks

Note that a YubiKey might not support this command. Sections 6.5.5.7.2, 6.5.5.7.3, and 6.4 in the FIDO2 standard describe the prerequisites for supporting this command. A program can determine if a YubiKey supports this command by getting device info (GetInfoCommand and checking the Options supported.

Constructors

Name Description
GetPinUvAuthTokenUsingPinCommand(PinUvAuthProtocolBase, ReadOnlyMemory<byte>, PinUvAuthTokenPermissions, string?)

Constructs a new instance of GetPinUvAuthTokenUsingPinCommand.

Properties

Name Description
Application

Gets the YubiKeyApplication (e.g. PIV, OATH, etc.) to which this command applies.

Methods

Name Description
CreateCommandApdu()

Creates a well-formed CommandApdu to send to the YubiKey.

CreateResponseForApdu(ResponseApdu)

Creates the corresponding IYubiKeyResponse implementation for the current command.

In this article
Back to top Generated by DocFX