EnumerateCredentialsBeginResponse Class
Namespace: Yubico.YubiKey.Fido2.Commands Assembly: Yubico.YubiKey.dllThe response partner to the EnumerateCredentialsBeginCommand, containing the the total number of credentials associated with the given relying party, along with the "first" (index 0) set of credential info.
C#
public class EnumerateCredentialsBeginResponse : Fido2Response, IYubiKeyResponseWithData<(int, CredentialUserInfo)>, IYubiKeyResponse
Implements
Remarks
Note that if there are no credentials associated with a relying party,
the return is "No Data" (Status = ResponseStatus.NoData, and
CtapStatus = CtapStatus.NoCredentials). In this case, calling
GetData
will result in an exception.
Constructors
Name | Description |
---|---|
EnumerateCredentialsBeginResponse(ResponseApdu) | Constructs a new instance of EnumerateCredentialsBeginResponse based on a response APDU provided by the YubiKey. |
Methods
Name | Description |
---|---|
GetData() | Gets the total number of credentials and the first (index 0) set of credential info associated with the given relying party in the YubiKey. |