Show / Hide Table of Contents

RenameCommand Class

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

Renames an existing credential by setting new issuer and account names. This command is only available on the YubiKeys with firmware version 5.3.0 and later.

C#
public class RenameCommand : IYubiKeyCommand<RenameResponse>
Inheritance object RenameCommand
Implements
IYubiKeyCommand<RenameResponse>

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.

In this article
Back to top Generated by DocFX