Show / Hide Table of Contents

AuthenticatorData Constructor

AuthenticatorData(ReadOnlyMemory<byte>)

Build a new instance of AuthenticatorData based on the given encoding.

C#
public AuthenticatorData(ReadOnlyMemory<byte> encodedData)

Parameters

Type Name Description
ReadOnlyMemory<byte> encodedData

The authenticator data, encoded following the definition in the W3C standard.

Exceptions

Type Condition
ArgumentException

The encodedData is not a correct encoding for FIDO2 authenticator data.

Remarks

The overall encoding does not follow any standard encoding scheme but is defined in the W3C standard, although two of the elements are CBOR-encoded structures.

This constructor will copy the input data, not just a reference.

In this article
Back to top Generated by DocFX