EnumerateRpsBeginCommand Class
Namespace: Yubico.YubiKey.Fido2.Commands Assembly: Yubico.YubiKey.dllBegin the process of getting information on all the relying parties represented in credentials on the YubiKey.
public class EnumerateRpsBeginCommand : CredentialMgmtSubCommand, IYubiKeyCommand<EnumerateRpsBeginResponse>
Implements
Remarks
The partner Response class is EnumerateRpsBeginResponse.
This returns the total number of relying parties represented in the set
of credentials, along with information on the "first" relying party. If
there is only one RP, then you have all the information you need. If
there are more RPs, then you can get information on all of them by
calling the enumerateRPsGetNextRP
subcommand.
Note that if there are no credentials associated with the given relying
party, the response will be "No Data"
(Status = ResponseStatus.NoData, and
CtapStatus = CtapStatus.NoCredentials). In this case, calling the
response.GetData()
method will result in an exception.
Constructors
Name | Description |
---|---|
EnumerateRpsBeginCommand(ReadOnlyMemory<Byte>, PinUvAuthProtocolBase) | Constructs a new instance of EnumerateRpsBeginCommand. |
Methods
Name | Description |
---|---|
CreateResponseForApdu(ResponseApdu) | Creates the corresponding IYubiKeyResponse implementation for the current command. |