Show / Hide Table of Contents

ResetCommand Class

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

Resets the YubiKey's U2F application back to a factory default state.

C#
public sealed class ResetCommand : IYubiKeyCommand<ResetResponse>
Inheritance object ResetCommand
Implements
IYubiKeyCommand<ResetResponse>

Remarks

Reset on FIPS devices will wipe the attestation certificate from the device preventing the device from being able to be in FIPS-mode again. This reset behavior is specific to U2F on FIPS.

Constructors

Name Description
ResetCommand()

Constructs an instance of the ResetCommand class.

Properties

Name Description
Application

Gets the YubiKeyApplication to which this command belongs.

Methods

Name Description
CreateCommandApdu()

Creates a well-formed CommandApdu to send to the YubiKey.

CreateResponseForApdu(ResponseApdu)

Creates the corresponding IYubiKeyResponse implementation for the current command.

In this article
Back to top Generated by DocFX