Show / Hide Table of Contents

SetPinResponse Class

Namespace: Yubico.YubiKey.U2f.Commands Assembly: Yubico.YubiKey.dll

The response to the SetPinCommand command, containing the response from the YubiKey.

C#
public sealed class SetPinResponse : U2fResponse, IYubiKeyResponse
Inheritance object YubiKeyResponse U2fResponse SetPinResponse
Implements
IYubiKeyResponse

Remarks

This is the partner response class to SetPinCommand.

After executing the SetPinCommand, the result is an instance of this class. There is no data to return. Simply check the Status property. If it is ResponseStatus.Success the PIN was changed. If it is ResponseStatus.ConditionsNotSatisfied, then the current PIN was incorrect.

Constructors

Name Description
SetPinResponse(ResponseApdu)

Constructs a SetPinResponse based on a ResponseApdu received from the YubiKey.

In this article
Back to top Generated by DocFX