VerifyPinResponse Class
Namespace: Yubico.YubiKey.U2f.Commands Assembly: Yubico.YubiKey.dllThe response to the VerifyPinCommand command, containing the response from the YubiKey.
C#
public sealed class VerifyPinResponse : U2fResponse, IYubiKeyResponse
Implements
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
Name | Description |
---|---|
VerifyPinResponse(ResponseApdu) | Constructs a VerifyPinResponse based on a ResponseApdu received from the YubiKey. |