Show / Hide Table of Contents

ConfigureSlotCommand Class

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

Applies a configuration to one of the two configurable OTP slots.

C#
public class ConfigureSlotCommand : SlotConfigureBase, IYubiKeyCommand<ReadStatusResponse>
Inheritance object SlotConfigureBase ConfigureSlotCommand
Implements
IYubiKeyCommand<ReadStatusResponse>

Properties

Name Description
LongPressCode

The code to use for indicating the long-press OTP slot.

ShortPressCode

The code to use for indicating the short-press OTP slot.

Methods

Name Description
SetAesKey(ReadOnlySpan<byte>)

The AES key with which the OTP is encrypted.

SetFixedData(ReadOnlySpan<byte>)

A fixed data field used to set any static configuration content.

SetUid(ReadOnlySpan<byte>)

The user (or private) ID used by the OTP generator.

In this article
Back to top Generated by DocFX