GetByCoseCurve Method
GetByCoseCurve(CoseEcCurve)
Gets a key definition by its curve type.
C#
public static KeyDefinitions.KeyDefinition GetByCoseCurve(CoseEcCurve curve)
Parameters
Type | Name | Description |
---|---|---|
CoseEcCurve | curve | The curve type of the key. |
Returns
The key definition for the specified curve type.
Exceptions
Type | Condition |
---|---|
InvalidOperationException | When the curve type is not supported. |