ResetCommand Class
Namespace: Yubico.YubiKey.U2f.Commands Assembly: Yubico.YubiKey.dllResets the YubiKey's U2F application back to a factory default state.
C#
public sealed class ResetCommand : Object, IYubiKeyCommand<ResetResponse>
Inheritance
System.Object
ResetCommand
Implements
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. |