Table of Contents

Class GetKeyAgreementResponse

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

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

public class GetKeyAgreementResponse : Fido2Response, IYubiKeyResponseWithData<CoseEcPublicKey>, IYubiKeyResponse
Inheritance
object
GetKeyAgreementResponse
Implements
Inherited Members

Constructors

GetKeyAgreementResponse(ResponseApdu)

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

public GetKeyAgreementResponse(ResponseApdu responseApdu)

Parameters

responseApdu ResponseApdu

A response APDU containing the CBOR response for the getKeyAgreement subcommand of the authenticatorClientPIN CTAP2 command.

Methods

GetData()

Returns the YubiKey's public key for the key agreement algorithm of the PIN/UV auth protocol specified in the command.

public CoseEcPublicKey GetData()

Returns

CoseEcPublicKey