Table of Contents

Class ListCredentialsResponse

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

The response to the ListCredentialsCommand command, containing the credentials present in the YubiHSM Auth application, and the number of retries remaining for each.

public sealed class ListCredentialsResponse : BaseYubiHsmAuthResponse, IYubiKeyResponseWithData<List<CredentialRetryPair>>, IYubiKeyResponse
Inheritance
object
ListCredentialsResponse
Implements
Inherited Members

Constructors

ListCredentialsResponse(ResponseApdu)

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

public ListCredentialsResponse(ResponseApdu responseApdu)

Parameters

responseApdu ResponseApdu

The ResponseApdu returned by the YubiKey.

Methods

GetData()

Gets the list of Credentials present in the YubiHSM Auth application, and the number of retries remaining.

public List<CredentialRetryPair> GetData()

Returns

List<CredentialRetryPair>

The data in the response APDU, as a list of credentials and retry count.

Exceptions

InvalidOperationException

Thrown when the Status is not equal to Success.