Table of Contents

Class PreviewSignExtensionMethods

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

Extension methods for retrieving previewSign data from FIDO2 response objects.

public static class PreviewSignExtensionMethods
Inheritance
object
PreviewSignExtensionMethods

Methods

GetPreviewSignGeneratedKey(MakeCredentialData)

Retrieves the previewSign generated key from the extension outputs.

public static PreviewSignGeneratedKey? GetPreviewSignGeneratedKey(this MakeCredentialData data)

Parameters

data MakeCredentialData

The MakeCredential response data.

Returns

PreviewSignGeneratedKey

A PreviewSignGeneratedKey if the extension was used and returned data; otherwise, null.

Exceptions

Ctap2DataException

The extension outputs are present but malformed or incomplete.