ResetApplicationCommand Class
Namespace: Yubico.YubiKey.YubiHsmAuth.Commands Assembly: Yubico.YubiKey.dllReset the YubiHSM Auth application, which will delete all credentials, reset the management key to its default value (all zeros), and reset the management key retry counter to 8.
C#
public sealed class ResetApplicationCommand : Object, IYubiKeyCommand<ResetApplicationResponse>
Inheritance
System.Object
ResetApplicationCommand
Implements
Remarks
The associated response class is ResetApplicationResponse.
Constructors
Name | Description |
---|---|
ResetApplicationCommand() | Constructs an instance of the ResetApplicationCommand 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. |