Table of Contents

Class GetAssertionResponse

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

This is the partner response class to the GetAssertionCommand command class.

public class GetAssertionResponse : Fido2Response, IYubiKeyResponseWithData<GetAssertionData>, IYubiKeyResponse
Inheritance
object
GetAssertionResponse
Implements
Inherited Members

Constructors

GetAssertionResponse(ResponseApdu)

Constructs a new instance of the GetAssertionResponse class based on a response APDU provided by the YubiKey.

public GetAssertionResponse(ResponseApdu responseApdu)

Parameters

responseApdu ResponseApdu

A response APDU containing the CBOR response for the authenticatorGetAssertion command.

Methods

GetData()

Returns a new instance of GetAssertionData containing the credential (a public key) and other information.

public GetAssertionData GetData()

Returns

GetAssertionData

A new instance of GetAssertionData.

Exceptions

InvalidOperationException

The response indicates there was an error, so there is no data to return.