Table of Contents

Class MakeCredentialResponse

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

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

public class MakeCredentialResponse : Fido2Response, IYubiKeyResponseWithData<MakeCredentialData>, IYubiKeyResponse
Inheritance
object
MakeCredentialResponse
Implements
Inherited Members

Constructors

MakeCredentialResponse(ResponseApdu)

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

public MakeCredentialResponse(ResponseApdu responseApdu)

Parameters

responseApdu ResponseApdu

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

Methods

GetData()

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

public MakeCredentialData GetData()

Returns

MakeCredentialData

A new instance of MakeCredentialData.

Exceptions

InvalidOperationException

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