<PackageReference Include="System.Security.Cryptography.Cng" Version="5.0.0-preview.3.20214.6" />

System.Security.Cryptography.ECDsaCng

public sealed class ECDsaCng : ECDsa
Provides a Cryptography Next Generation (CNG) implementation of the Elliptic Curve Digital Signature Algorithm (ECDSA).
namespace System.Security.Cryptography { public sealed class ECDsaCng : ECDsa { public CngAlgorithm HashAlgorithm { get; set; } public CngKey Key { get; } public ECDsaCng(); public ECDsaCng(int keySize); public ECDsaCng(CngKey key); public ECDsaCng(ECCurve curve); public void FromXmlString(string xml, ECKeyXmlFormat format); public byte[] SignData(byte[] data); public byte[] SignData(byte[] data, int offset, int count); public byte[] SignData(Stream data); public string ToXmlString(ECKeyXmlFormat format); public bool VerifyData(byte[] data, byte[] signature); public bool VerifyData(byte[] data, int offset, int count, byte[] signature); public bool VerifyData(Stream data, byte[] signature); } }