Table of Contents

Class U2fBufferCommand

Namespace
Yubico.YubiKey.U2f.Commands
Assembly
Yubico.YubiKey.dll

The base class for some U2F commands that use the U2fBuffer.

public abstract class U2fBufferCommand : U2fBuffer
Inheritance
object
U2fBufferCommand
Derived
Inherited Members

Remarks

Only the SDK will ever need to create subclasses, there is no reason for any other application to do so.

Constructors

U2fBufferCommand(byte, int, int, int)

Initialize the object to the given values.

protected U2fBufferCommand(byte instruction, int bufferLength, int appIdOffset, int clientDataOffset)

Parameters

instruction byte
bufferLength int
appIdOffset int
clientDataOffset int

Properties

Application

The YubiKeyApplication to which this command belongs.

public YubiKeyApplication Application { get; }

Property Value

YubiKeyApplication

FidoU2f

Parameter1

The P1 value to use in the APDU.

protected byte Parameter1 { get; set; }

Property Value

byte

Methods

CreateCommandApdu()

Create a U2F Command APDU using the info provided during the life of this object.

public CommandApdu CreateCommandApdu()

Returns

CommandApdu