Show / Hide Table of Contents

PutCommand Class

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

Adds or overwrites an OATH credential.

C#
public class PutCommand : IYubiKeyCommand<OathResponse>
Inheritance object PutCommand
Implements
IYubiKeyCommand<OathResponse>

Constructors

Name Description
PutCommand()

Constructs an instance of the PutCommand class.

PutCommand(Credential)

Constructs an instance of the PutCommand class.

Properties

Name Description
Application

Gets the YubiKeyApplication to which this command belongs.

Credential

The credential to add or overwrite.

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