Show / Hide Table of Contents

DeleteCredentialCommand Class

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

Delete a credential.

C#
public class DeleteCredentialCommand : CredentialMgmtSubCommand, IYubiKeyCommand<Fido2Response>
Inheritance object CredentialMgmtSubCommand DeleteCredentialCommand
Implements
IYubiKeyCommand<Fido2Response>

Remarks

The partner Response class is Fido2Response. This command does not return any data, it only returns "success" or "failure", and has some FIDO2-specific error information.

This deletes a FIDO2 credential from the YubiKey. It is possible there is some large blob data associated with that credential. This command will not delete that data.

Constructors

Name Description
DeleteCredentialCommand(CredentialId, ReadOnlyMemory<byte>, PinUvAuthProtocolBase)

Constructs a new instance of DeleteCredentialCommand.

Methods

Name Description
CreateResponseForApdu(ResponseApdu)

Creates the corresponding IYubiKeyResponse implementation for the current command.

In this article
Back to top Generated by DocFX