RenameCommand Class
Namespace: Yubico.YubiKey.Oath.Commands Assembly: Yubico.YubiKey.dllRenames an existing credential by setting new issuer and account names.
C#
public class RenameCommand : Object, IYubiKeyCommand<RenameResponse>
Inheritance
System.Object
RenameCommand
Implements
Constructors
Name | Description |
---|---|
RenameCommand() | Constructs an instance of the RenameCommand class. |
RenameCommand(Credential, String, String) | Constructs an instance of the RenameCommand class. |
Properties
Name | Description |
---|---|
Application | Gets the YubiKeyApplication to which this command belongs. |
Credential | The credential to edit. |
NewAccount | The new account name. |
NewIssuer | The new issuer. |
Methods
Name | Description |
---|---|
CreateCommandApdu() | Creates a well-formed CommandApdu to send to the YubiKey. |
CreateResponseForApdu(ResponseApdu) | Creates the corresponding IYubiKeyResponse implementation for the current command. |