共用方式為


X509SignatureGenerator.CreateForECDsa(ECDsa) 方法

定義

使用指定的私密金鑰建立 ECDSA 簽章的 X509SignatureGenerator 物件。

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

參數

key
ECDsa

私密金鑰。

傳回

ECDSA 簽章的 X509SignatureGenerator 物件。

例外狀況

keynull

適用於