Class SetPinResponse
This is the partner response class to the SetPinCommand class.
public class SetPinResponse : Fido2Response, IYubiKeyResponse
- Inheritance
-
objectSetPinResponse
- Implements
- Inherited Members
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
SetPinResponse(ResponseApdu)
Constructs a new instance of the SetPinResponse class based on a response APDU provided by the YubiKey.
public SetPinResponse(ResponseApdu responseApdu)
Parameters
responseApdu
ResponseApduA response APDU containing the CBOR response for the
setPin
subcommand of theauthenticatorClientPIN
CTAP2 command.