SetPinResponse Class
Namespace: Yubico.YubiKey.Fido2.Commands Assembly: Yubico.YubiKey.dllThis is the partner response class to the SetPinCommand class.
C#
public class SetPinResponse : Fido2Response, IYubiKeyResponse
Implements
Remarks
Note that this response has no data to return (there is no GetData
method). If the PIN is successfully set, the CtapStatus
property will be ResponseStatus.Success
. If the PIN is not set,
the Status
property will indicate the error.
Constructors
Name | Description |
---|---|
SetPinResponse(ResponseApdu) | Constructs a new instance of the SetPinResponse class based on a response APDU provided by the YubiKey. |