DeleteCredentialCommand Class
Namespace: Yubico.YubiKey.YubiHsmAuth.Commands Assembly: Yubico.YubiKey.dllRemove a credential from the YubiHSM Auth application.
public class DeleteCredentialCommand : Object, IYubiKeyCommand<DeleteCredentialResponse>
Implements
Remarks
The associated response class is DeleteCredentialResponse.
There is a limit of 8 attempts to authenticate with the management key before the management key is blocked. Once the management key is blocked, the application must be reset before performing operations which require authentication with the management key (such as adding credentials, deleting credentials, and changing the management key). To reset the application, see ResetApplicationCommand. Supplying the correct management key before the management key is blocked will reset the retry counter to 8.
Constructors
Name | Description |
---|---|
DeleteCredentialCommand(ReadOnlyMemory<Byte>) | Constructs an instance of the DeleteCredentialCommand class. |
DeleteCredentialCommand(ReadOnlyMemory<Byte>, String) | Constructs an instance of the DeleteCredentialCommand class. |
Fields
Name | Description |
---|---|
ValidManagementKeyLength | The management key must be exactly 16 bytes. |
Properties
Name | Description |
---|---|
Application | |
Label | A short name or description of the Credential. |
Methods
Name | Description |
---|---|
CreateCommandApdu() | |
CreateResponseForApdu(ResponseApdu) |