Table of Contents

Method IsOverAPermittedCurve

Namespace
MailFathom.Common.ClientAssertions
Assembly
MailFathom.Common.dll

IsOverAPermittedCurve(ECDsa)

Reports whether a permitted algorithm is defined over the curve a key was generated on.

public static bool IsOverAPermittedCurve(ECDsa signingKey)

Parameters

signingKey ECDsa

The elliptic-curve key.

Returns

bool

true when the curve is one of the three; otherwise false.

Exceptions

ArgumentNullException

Thrown when signingKey is null.