Show / Hide Table of Contents

ClientPinData Class

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

The results of a call to the ClientPinCommand command class.

C#
public class ClientPinData
Inheritance object ClientPinData

Remarks

This class contains all of the data that can be returned in a ClientPinResponse response. Since this response may represent one of several different sub-responses, not all of the properties will be set to a value. Which property is set depends on what kind of client PIN subcommand was issued.

It is often more convenient to issue a subcommand directly through its command class representation. That command class will have a partner response class that will only return the set of information that is relevant to that subcommand. It is recommended that you use this approach rather than using ClientPinCommand, ClientPinResponse, and ClientPinData directly.

Properties

Name Description
KeyAgreement

Used to convey the authenticator's public key to the client / platform.

PinRetries

The number of PIN attempts remaining before the YubiKey's FIDO2 application is locked out.

PinUvAuthToken

The pinUvAuthToken, encrypted by calling encrypt on the PIN/UV auto protocol with the shared secret as the key.

PowerCycleState

Indicates whether the YubiKey requires a power cycle before any future PIN operations can continue.

UvRetries

The number of User Verification retries remaining before a lockout of the YubiKey will occur.

In this article
Back to top Generated by DocFX