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
-
objectGetManagementKeyRetriesResponse
- Implements
- Inherited Members
Constructors
GetManagementKeyRetriesResponse(ResponseApdu)
Constructs a GetManagementKeyRetriesResponse instance based on a ResponseApdu received from the YubiKey.
public GetManagementKeyRetriesResponse(ResponseApdu responseApdu)
Parameters
responseApdu
ResponseApduThe 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.