Table of Contents

Class VerifyPinResponse

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

The response to the VerifyPinCommand command, containing the response from the YubiKey.

public sealed class VerifyPinResponse : U2fResponse, IYubiKeyResponse
Inheritance
object
VerifyPinResponse
Implements
Inherited Members

Remarks

This is the partner response class to VerifyPinCommand.

After executing the VerifyPinCommand, the result is an instance of this class. There is no data to return. Simply check the Status property. If it is ResponseStatus.Success the PIN was verified. If it is ResponseStatus.Failed, then the PIN was incorrect.

Constructors

VerifyPinResponse(ResponseApdu)

Constructs a VerifyPinResponse based on a ResponseApdu received from the YubiKey.

public VerifyPinResponse(ResponseApdu responseApdu)

Parameters

responseApdu ResponseApdu

The object containing the response APDU returned by the YubiKey.