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 |
---|---|---|
System.ReadOnlyMemory<System.Byte> | encodedData | The authenticator data, encoded following the definition in the W3C standard. |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | The |
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.