ChallengeResponseCommand Class
Namespace: Yubico.YubiKey.Otp.Commands Assembly: Yubico.YubiKey.dllIssues a challenge to the YubiKey. The slot must be configured in challenge-response mode for this command's response to be valid.
C#
public class ChallengeResponseCommand : Object, IYubiKeyCommand<ChallengeResponseResponse>
Inheritance
System.Object
ChallengeResponseCommand
Implements
Constructors
Name | Description |
---|---|
ChallengeResponseCommand(Slot, ChallengeResponseAlgorithm, ReadOnlyMemory<Byte>) | Constructs a new instance of the ChallengeResponseCommand class with the challenge and slot information supplied. |
Properties
Name | Description |
---|---|
Algorithm | The algorithm the YubiKey should use when generating the response. |
Application | |
OtpSlot | The OTP slot to issue the challenge. |
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. |