Show / Hide Table of Contents

CalculateAllCredentialsCommand Class

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

Performs CALCULATE of OTP (One-Time Password) values for all available credentials on the YubiKey.

C#
public class CalculateAllCredentialsCommand : OathChallengeResponseBaseCommand, IYubiKeyCommand<CalculateAllCredentialsResponse>
Inheritance object OathChallengeResponseBaseCommand CalculateAllCredentialsCommand
Implements
IYubiKeyCommand<CalculateAllCredentialsResponse>

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.

In this article
Back to top Generated by DocFX