Table of Contents

Class ChangePinResponse

Namespace
Yubico.YubiKey.Fido2.Commands
Assembly
Yubico.YubiKey.dll

This is the partner response class to the ChangePinCommand class.

public class ChangePinResponse : Fido2Response, IYubiKeyResponse
Inheritance
object
ChangePinResponse
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

responseApdu ResponseApdu

A response APDU containing the CBOR response for the changePin subcommand of the authenticatorClientPIN CTAP2 command.