X509SignatureGenerator.CreateForECDsa(ECDsa) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用指定的私密金鑰建立 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 物件。
例外狀況
key
為 null
。