Edit

Share via


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);
public static System.Security.Cryptography.X509Certificates.X509SignatureGenerator CreateForECDsa (System.Security.Cryptography.ECDsa key);
static member CreateForECDsa : System.Security.Cryptography.ECDsa -> System.Security.Cryptography.X509Certificates.X509SignatureGenerator
Public Shared Function CreateForECDsa (key As ECDsa) As X509SignatureGenerator

Parameters

key
ECDsa

The private key.

Returns

An X509SignatureGenerator object for ECDSA signatures.

Exceptions

key is null.

Applies to