Show / Hide Table of Contents

ConfigureHotp Class

Namespace: Yubico.YubiKey.Otp.Operations Assembly: Yubico.YubiKey.dll

Configures a YubiKey OTP slot to emit sequence-based OTP codes.

C#
public class ConfigureHotp : OperationBase<ConfigureHotp>
Inheritance object OperationBase<ConfigureHotp> ConfigureHotp

Fields

Name Description
HmacKeySize

The key size for an HMAC credential.

Methods

Name Description
AppendCarriageReturn(bool)

Sends a carriage return [Enter Key] after all characters have been sent.

AppendDelayToFixed(bool)

Adds a 500ms delay after sending the fixed string.

AppendDelayToOtp(bool)

Adds a 500ms delay after sending the OTP string.

AppendTabToFixed(bool)

Sends a tab character after the fixed string.

ExecuteOperation()

Execute the operation here.

GenerateKey(Memory<byte>)

Generates a cryptographically random series of bytes as the key for the credential.

PreLaunchOperation()

Validate all settings and choices here.

SendReferenceString(bool)

Sends a reference string of the ModHex characters for 0-15 before the fixed or OTP data.

SendTabFirst(bool)

Sends a tab character before the fixed string.

SetAllowUpdate(bool)

Allows certain non-security related settings to be modified after the configuration has been written.

Use10msPacing(bool)

Adds an inter-character pacing time of 10ms between each keystroke.

Use20msPacing(bool)

Adds an inter-character pacing time of 20ms between each keystroke.

Use8Digits(bool)

Configures the slot to use an eight-digit password for OATH-HOTP.

UseFastTrigger(bool)

Causes the trigger action of the YubiKey button to become faster.

UseInitialMovingFactor(int)

Set the initial moving factor for the credential.

UseKey(ReadOnlyMemory<byte>)

Explicitly sets the key of the credential.

UseNumericKeypad(bool)

Causes numeric characters to be sent as keystrokes from the numeric keypad rather than the normal numeric keys on an 84-key keyboard.

In this article
Back to top Generated by DocFX