ConfigureSlotCommand Class
Namespace: Yubico.YubiKey.Otp.Commands Assembly: Yubico.YubiKey.dllApplies a configuration to one of the two configurable OTP slots.
C#
public class ConfigureSlotCommand : SlotConfigureBase, IYubiKeyCommand<ReadStatusResponse>
Implements
Constructors
Name | Description |
---|---|
ConfigureSlotCommand() |
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. |