Table of Contents

Class GetManagementKeyRetriesResponse

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

The response to the GetManagementKeyRetriesCommand command, containing the retries remaining for the management key.

public sealed class GetManagementKeyRetriesResponse : BaseYubiHsmAuthResponse, IYubiKeyResponseWithData<int>, IYubiKeyResponse
Inheritance
object
GetManagementKeyRetriesResponse
Implements
Inherited Members

Constructors

GetManagementKeyRetriesResponse(ResponseApdu)

Constructs a GetManagementKeyRetriesResponse instance based on a ResponseApdu received from the YubiKey.

public GetManagementKeyRetriesResponse(ResponseApdu responseApdu)

Parameters

responseApdu ResponseApdu

The ResponseApdu returned by the YubiKey.

Methods

GetData()

Gets the number of retries remaining for the management key.

public int GetData()

Returns

int

The data in the response APDU, as an integer.

Exceptions

InvalidOperationException

Thrown when the Status is not equal to Success.