Show / Hide Table of Contents

MakeCredentialData Constructor

MakeCredentialData(ReadOnlyMemory<byte>)

Build a new instance of MakeCredentialData based on the given CBOR encoding.

C#
public MakeCredentialData(ReadOnlyMemory<byte> cborEncoding)

Parameters

Type Name Description
ReadOnlyMemory<byte> cborEncoding

The credential data, encoded following the CTAP 2.1 and CBOR (RFC 8949) standards.

Exceptions

Type Condition
Ctap2DataException

The cborEncoding is not a valid CBOR encoding, or it is not a correct encoding for FIDO2 credential data.

Remarks

The encoding must follow the definition of authenticatorMakeCredential response structure in section 6.1.2 of the CTAP 2.1 standard.

In this article
Back to top Generated by DocFX