GetCredentialMetadataCommand Class
Namespace: Yubico.YubiKey.Fido2.Commands Assembly: Yubico.YubiKey.dllGet the YubiKey's FIDO2 credential metadata.
C#
public class GetCredentialMetadataCommand : CredentialMgmtSubCommand, IYubiKeyCommand<GetCredentialMetadataResponse>
Implements
Remarks
The partner Response class is CredentialManagementResponse.
This returns metadata on all the credentials. The return from this
command consists of the existingResidentCredentialsCount
and
maxPossibleRemainingResidentCredentialsCount
(section 6.8 of the
standard).
Constructors
Name | Description |
---|---|
GetCredentialMetadataCommand(ReadOnlyMemory<Byte>, PinUvAuthProtocolBase) | Constructs a new instance of GetCredentialMetadataCommand. |
Methods
Name | Description |
---|---|
CreateResponseForApdu(ResponseApdu) | Creates the corresponding IYubiKeyResponse implementation for the current command. |