X509SignatureGenerator.CreateForECDsa(ECDsa) Method

Definition

Creates an X509SignatureGenerator object for ECDSA signatures using the specified private key.

public static System.Security.Cryptography.X509Certificates.X509SignatureGenerator CreateForECDsa (System.Security.Cryptography.ECDsa key);

Parameters

key
ECDsa

The private key.

Returns

An X509SignatureGenerator object for ECDSA signatures.

Exceptions

key is null.

Applies to

Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.7.2, 4.8, 4.8.1
.NET Standard 2.1