Show / Hide Table of Contents

AuthenticatorInfo Constructor

AuthenticatorInfo(ReadOnlyMemory<byte>)

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

C#
public AuthenticatorInfo(ReadOnlyMemory<byte> cborEncoding)

Parameters

Type Name Description
ReadOnlyMemory<byte> cborEncoding

The device info, 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 device info.

Remarks

The encoding must follow the definition of authenticatorGetInfo in section 6.4 of the CTAP 2.1 standard.

In this article
Back to top Generated by DocFX