SetLegacyDeviceConfigBase Class
Namespace: Yubico.YubiKey.Management.Commands Assembly: Yubico.YubiKey.dllWrites configuration settings that are supported by YubiKeys prior to firmware version 5.
C#
public class SetLegacyDeviceConfigBase : Object
Inheritance
System.Object
SetLegacyDeviceConfigBase
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, Boolean, Int32) | 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. |