Show / Hide Table of Contents

SetLegacyDeviceConfigBase Class

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

Writes configuration settings that are supported by YubiKeys prior to firmware version 5.

C#
public class SetLegacyDeviceConfigBase
Inheritance object SetLegacyDeviceConfigBase
SetLegacyDeviceConfigCommand
SetLegacyDeviceConfigCommand
SetLegacyDeviceConfigCommand

Remarks

This is the only configuration operation available to YubiKeys prior to firmware version 5. These YubiKeys have limited configuration settings, and all of them must be set at the same time.

Constructors

Name Description
SetLegacyDeviceConfigBase(SetLegacyDeviceConfigBase)

Copy constructor.

SetLegacyDeviceConfigBase(YubiKeyCapabilities, byte, bool, int)

Initializes a new instance of the SetLegacyDeviceConfigBase class.

Properties

Name Description
AutoEjectTimeout

The CCID auto-eject timeout (in seconds). This field is only meaningful if touch eject is enabled (see TouchEjectEnabled).

ChallengeResponseTimeout

The period of time (in seconds) after which the OTP challenge-response command should timeout.

TouchEjectEnabled

The CCID touch-eject feature is enabled.

YubiKeyInterfaces

The interfaces of the YubiKey that should be enabled over USB.

Methods

Name Description
ContainsOnlyValidInterfaceFlags(YubiKeyCapabilities)
GetDataForApdu()

Formats the data to be sent to the YubiKey.

In this article
Back to top Generated by DocFX