Show / Hide Table of Contents

ResetApplicationCommand Class

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

Reset 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 : IYubiKeyCommand<ResetApplicationResponse>
Inheritance object ResetApplicationCommand
Implements
IYubiKeyCommand<ResetApplicationResponse>

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.

In this article
Back to top Generated by DocFX