Table of Contents

Class EnumerateCredentialsGetNextCommand

Namespace
Yubico.YubiKey.Fido2.Commands
Assembly
Yubico.YubiKey.dll

Continue the process of getting information on all the credentials associated with a specific relying party stored on the YubiKey.

public class EnumerateCredentialsGetNextCommand : CredentialMgmtSubCommand, IYubiKeyCommand<EnumerateCredentialsGetNextResponse>
Inheritance
object
EnumerateCredentialsGetNextCommand
Implements
Inherited Members

Remarks

The partner Response class is EnumerateCredentialsGetNextResponse.

This returns information on one of the credentials. If there is only one credential associated with the relying party, then the call to the enumerateCredentialsBegin subcommand gave you all the information you need. It also indicated that there was only one credential. If there are more credentials, then you can get information on the rest after the first by calling this subcommand, calling it once for every credential.

The return from this command consist of the user, credentialId, publicKey, credProtect, and largeBlobKey.

Note that this command does not need the relyingPartyIdHash, pinUvAuthToken nor the authProtocol. This command picks up where the EnumerateCredentialsBeginCommand left off, and can only operate successfully after that "Begin" command has successfully completed.

Constructors

EnumerateCredentialsGetNextCommand()

Constructs a new instance of EnumerateCredentialsGetNextCommand.

public EnumerateCredentialsGetNextCommand()

Methods

CreateResponseForApdu(ResponseApdu)

Creates the corresponding IYubiKeyResponse implementation for the current command.

public EnumerateCredentialsGetNextResponse CreateResponseForApdu(ResponseApdu responseApdu)

Parameters

responseApdu ResponseApdu

The ResponseApdu returned by the YubiKey.

Returns

EnumerateCredentialsGetNextResponse

The implementation of IYubiKeyResponse that parses and presents ths response APDU.