CreateFromEncodedKey Method
CreateFromEncodedKey(ReadOnlyMemory<byte>)
Creates a new instance of CoseEdDsaPublicKey from the given encoded COSE key.
C#
public static CoseEdDsaPublicKey CreateFromEncodedKey(ReadOnlyMemory<byte> encodedCoseKey)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlyMemory<byte> | encodedCoseKey | The encoded COSE key in CBOR format. |
Returns
A CoseEdDsaPublicKey object initialized with the provided encoded key data.
Exceptions
Type | Condition |
---|---|
Ctap2DataException | Thrown if the |