EchoCommand Class
Namespace: Yubico.YubiKey.U2f.Commands Assembly: Yubico.YubiKey.dllSends data to the YubiKey which immediately echoes the same data back.
C#
public sealed class EchoCommand : Object, IYubiKeyCommand<EchoResponse>
Inheritance
System.Object
EchoCommand
Implements
Remarks
This command is defined to be a uniform function for debugging, latency, and performance measurements.
Behavior for Data larger than 1024 bytes is undefined.
Constructors
Name | Description |
---|---|
EchoCommand() | Constructs an instance of the EchoCommand class. |
EchoCommand(ReadOnlyMemory<Byte>) | Constructs an instance of the EchoCommand class with the data to send to the YubiKey. |
Properties
Name | Description |
---|---|
Application | The YubiKeyApplication to which this command belongs. |
Data | The data to send to the YubiKey. |
Methods
Name | Description |
---|---|
CreateCommandApdu() | Creates a well-formed CommandApdu to send to the YubiKey. |
CreateResponseForApdu(ResponseApdu) | Creates the corresponding IYubiKeyResponse implementation for the current command. |