Table of Contents

Class GetInfoResponse

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

The response to the GetInfoCommand command, containing information about the device and FIDO2 application.

public sealed class GetInfoResponse : Fido2Response, IYubiKeyResponseWithData<AuthenticatorInfo>, IYubiKeyResponse
Inheritance
object
GetInfoResponse
Implements
Inherited Members

Constructors

GetInfoResponse(ResponseApdu)

Constructs a GetInfoResponse instance based on a ResponseApdu received from the YubiKey.

public GetInfoResponse(ResponseApdu responseApdu)

Parameters

responseApdu ResponseApdu

The ResponseApdu returned by the YubiKey.

Methods

GetData()

Gets the AuthenticatorInfo class that contains details about the authenticator, such as a list of all supported protocol versions, supported extensions, AAGUID of the device, and its capabilities.

public AuthenticatorInfo GetData()

Returns

AuthenticatorInfo

The data in the response APDU, presented as an AuthenticatorInfo class.

Exceptions

InvalidOperationException

Thrown when Status is not Success.