Show / Hide Table of Contents

GetAssertionData Constructor

GetAssertionData(ReadOnlyMemory<byte>)

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

C#
public GetAssertionData(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 assertion data.

Remarks

The encoding must follow the definition of authenticatorGetAssertion response structure in section 6.2.2 of the CTAP 2.1 standard.

In this article
Back to top Generated by DocFX