GetManagementKeyRetriesCommand Class
Namespace: Yubico.YubiKey.YubiHsmAuth.Commands Assembly: Yubico.YubiKey.dllGet the number of retries remaining for the management key.
public sealed class GetManagementKeyRetriesCommand : Object, IYubiKeyCommand<GetManagementKeyRetriesResponse>
Implements
Remarks
There is a limit of 8 attempts to authenticate with the management key before the management key is blocked. Once the management key is blocked, the application must be reset before performing operations which require authentication with the management key (such as adding credentials, deleting credentials, and changing the management key). To reset the application, see ResetApplicationCommand. Supplying the correct management key before the management key is blocked will reset the retry counter to 8.
The associated response class is GetManagementKeyRetriesResponse.
Constructors
Name | Description |
---|---|
GetManagementKeyRetriesCommand() | Constructs an instance of the GetManagementKeyRetriesCommand 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. |