GetPinUvAuthTokenUsingPinCommand Class
Namespace: Yubico.YubiKey.Fido2.Commands Assembly: Yubico.YubiKey.dllGets a new PIN/UV Auth token using the subcommand
getPinUvAuthTokenUsingPinWithPermissions
.
C#
public class GetPinUvAuthTokenUsingPinCommand : Object, IYubiKeyCommand<GetPinUvAuthTokenResponse>
Inheritance
System.Object
GetPinUvAuthTokenUsingPinCommand
Implements
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. |