Table of Contents

Class SetPinResponse

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

This is the partner response class to the SetPinCommand class.

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

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