Class ChangePinResponse
This is the partner response class to the ChangePinCommand class.
public class ChangePinResponse : Fido2Response, IYubiKeyResponse
- Inheritance
-
objectChangePinResponse
- Implements
- Inherited Members
Remarks
Note that this response has no data to return (there is no GetData
method). If the PIN is successfully changed, the CtapStatus
property will be ResponseStatus.Success. If the PIN is not
changed, the Status property will indicate the error.
Constructors
ChangePinResponse(ResponseApdu)
Constructs a new instance of the ChangePinResponse class based on a response APDU provided by the YubiKey.
public ChangePinResponse(ResponseApdu responseApdu)
Parameters
responseApduResponseApduA response APDU containing the CBOR response for the
changePinsubcommand of theauthenticatorClientPINCTAP2 command.