OtpSettings<T> Class
Namespace: Yubico.YubiKey.Otp Assembly: Yubico.YubiKey.dllHelper class to manage the flags used by the YubiKey OTP configuration.
public class OtpSettings<T> : Object where T : OperationBase<T>
Type Parameters
Class.Header.Syntax.TypeParameters:Name | Description |
---|---|
T | The System.Type of the operation class. |
Properties
Name | Description |
---|---|
YubiKeyFlags | The YubiKey OTP flags collected in one data-structure. |
Methods
Name | Description |
---|---|
AllowHidTrigger(Boolean) | Reserved for compatibility with the YubiKey 1. Usage of this option is discouraged. |
AllowManualUpdate(Boolean) | Configures the slot to allow for user-triggered static password change. |
AllowUpdate(Boolean) | Allows certain non-security related settings to be modified after the configuration has been written. |
AppendCarriageReturn(Boolean) | Sends a carriage return [Enter Key] after all characters have been sent. |
AppendDelayToFixed(Boolean) | Adds a 500ms delay after sending the fixed string. |
AppendDelayToOtp(Boolean) | Adds a 500ms delay after sending the OTP string. |
AppendTabToFixed(Boolean) | Sends a tab character after the fixed string. |
HmacLessThan64Bytes(Boolean) | Set when the HMAC message is less than 64 bytes. |
OathFixedModhex1(Boolean) | Specifies that the first byte of the token identifier should be modhex. |
ProtectLongPressSlot(Boolean) | Locks and/or protects the long press configuration slot of the YubiKey. |
SendReferenceString(Boolean) | Sends a reference string of the ModHex characters for 0-15 before the fixed or OTP data. |
SendTabFirst(Boolean) | Sends a tab character before the fixed string. |
SetAppendTabToOtp(Boolean) | Sends a tab character after the OTP string. |
SetDormant(Boolean) | Allows a configuration to be stored without being accessible. |
SetInvertLed(Boolean) | Inverts the configured state of the LED. |
SetOathHotp(Boolean) | Sets the configuration for OATH HOTP. |
SetSerialNumberApiVisible(Boolean) | Allows the serial number to be read by proprietary means, including being visible to the Yubico.YubiKey SDK. |
SetSerialNumberButtonVisible(Boolean) | Allows the serial number to be retrieved by holding down the touch button while inserting the device into the USB port. |
SetSerialNumberUsbVisible(Boolean) | Makes the serial number appear in the YubiKey's USB descriptor's iSerialNumber field. |
ShortTicket(Boolean) | Truncates the OTP string to 16 characters. |
TicketFirst(Boolean) | Reserved for compatibility with the YubiKey 1. Usage of this option is discouraged. |
ToString() | |
Use10msPacing(Boolean) | Adds an inter-character pacing time of 10ms between each keystroke. |
Use20msPacing(Boolean) | Adds an inter-character pacing time of 20ms between each keystroke. |
Use8DigitHotp(Boolean) | Configures the slot to use an eight-digit password for OATH-HOTP. |
UseAlphaNumericPassword(Boolean) | Enables generation of mixed characters and digits. |
UseButtonTrigger(Boolean) | Require user acceptance by touching the YubiKey button for challenge-response operations |
UseFastTrigger(Boolean) | Causes the trigger action of the YubiKey button to become faster. |
UseHmacSha1ChallengeResponseMode(Boolean) | HMAC-SHA1 Challenge-Response Mode |
UseMixedCasePassword(Boolean) | Enable use of mixed case characters for password generation. |
UseNumericKeypad(Boolean) | Causes numeric characters to be sent as keystrokes from the numeric keypad rather than the normal numeric keys on an 84-key keyboard. |
UseOathFixedModhex(Boolean) | Specifies that all bytes of the token identifier should be modhex. |
UseOathFixedModhex2(Boolean) | Specifies that the first two bytes of the token identifier should be modhex. |
UseStaticPasswordMode(Boolean) | Configures the slow to emit a static password. |
UseStaticTicketMode(Boolean) | Sets all dynamic fields to fixed values. |
UseYubicoOtpChallengeResponseMode(Boolean) | Enables Yubico OTP Challenge-Response Mode |