CalculateAllCredentialsCommand Class
Namespace: Yubico.YubiKey.Oath.Commands Assembly: Yubico.YubiKey.dllPerforms CALCULATE of OTP (One-Time Password) values for all available credentials on the YubiKey.
C#
public class CalculateAllCredentialsCommand : OathChallengeResponseBaseCommand, IYubiKeyCommand<CalculateAllCredentialsResponse>
Implements
Constructors
Name | Description |
---|---|
CalculateAllCredentialsCommand() | Constructs an instance of the CalculateAllCredentialsCommand class. The ResponseFormat will be set to its default value which is truncated. |
CalculateAllCredentialsCommand(ResponseFormat) | Constructs an instance of the CalculateAllCredentialsCommand class. |
Properties
Name | Description |
---|---|
Application | Gets the YubiKeyApplication to which this command belongs. |
ResponseFormat | Full or truncated response to receive back. |
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. |