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