Show / Hide Table of Contents

EnumerateCredentialsGetNextCommand Class

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.

C#
public class EnumerateCredentialsGetNextCommand : CredentialMgmtSubCommand, IYubiKeyCommand<EnumerateCredentialsGetNextResponse>
Inheritance object CredentialMgmtSubCommand EnumerateCredentialsGetNextCommand
Implements
IYubiKeyCommand<EnumerateCredentialsGetNextResponse>

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

Name Description
EnumerateCredentialsGetNextCommand()

Constructs a new instance of EnumerateCredentialsGetNextCommand.

Methods

Name Description
CreateResponseForApdu(ResponseApdu)

Creates the corresponding IYubiKeyResponse implementation for the current command.

In this article
Back to top Generated by DocFX