Show / Hide Table of Contents

CredentialManagementData Constructor

CredentialManagementData(ReadOnlyMemory<byte>)

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

C#
public CredentialManagementData(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 management data.

Remarks

The encoding must follow the definition of the authenticatorCredentialManagement response structure in section 6.8 of the CTAP 2.1 standard.

In this article
Back to top Generated by DocFX