Show / Hide Table of Contents

ConfigResponse Class

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

The response to the ConfigCommand, containing the response from the YubiKey.

C#
public sealed class ConfigResponse : Fido2Response, IYubiKeyResponse
Inheritance object YubiKeyResponse Fido2Response ConfigResponse
Implements
IYubiKeyResponse

Remarks

This is the partner response class to ConfigCommand.

After executing the ConfigCommand, the result is an instance of this class. There is no data to return. Simply check the Status property. If it is ResponseStatus.Success the operation succeeded. If it is anything else, then the operation failed and you can check the CtapStatus and StatusMessage.

This class is really used only to override the StatusCodeMap and provide error messages specific to AuthenticatorConfig.

Constructors

Name Description
ConfigResponse(ResponseApdu)

Constructs a ConfigResponse based on a ResponseApdu received from the YubiKey.

Properties

Name Description
StatusCodeMap

Overridden to modify the messages associated with certain status words. The messages match the status words' meanings as described in the FIDO2 specifications.

In this article
Back to top Generated by DocFX