SetPinResponse Class
Namespace: Yubico.YubiKey.U2f.Commands Assembly: Yubico.YubiKey.dllThe response to the SetPinCommand command, containing the response from the YubiKey.
C#
public sealed class SetPinResponse : U2fResponse, IYubiKeyResponse
Implements
Remarks
This is the partner response class to SetPinCommand.
After executing the SetPinCommand
, 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 changed. If it is ResponseStatus.ConditionsNotSatisfied
,
then the current PIN was incorrect.
Constructors
Name | Description |
---|---|
SetPinResponse(ResponseApdu) | Constructs a SetPinResponse based on a ResponseApdu received from the YubiKey. |