DeleteCredentialCommand Class
Namespace: Yubico.YubiKey.Fido2.Commands Assembly: Yubico.YubiKey.dllDelete a credential.
C#
public class DeleteCredentialCommand : CredentialMgmtSubCommand, IYubiKeyCommand<Fido2Response>
Implements
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. |