共用方式為


SignatureDescription.CreateFormatter(AsymmetricAlgorithm) 方法

定義

使用 AsymmetricSignatureFormatter 屬性來建立具有指定金鑰的 FormatterAlgorithm 執行個體。

public:
 virtual System::Security::Cryptography::AsymmetricSignatureFormatter ^ CreateFormatter(System::Security::Cryptography::AsymmetricAlgorithm ^ key);
public virtual System.Security.Cryptography.AsymmetricSignatureFormatter CreateFormatter (System.Security.Cryptography.AsymmetricAlgorithm key);
abstract member CreateFormatter : System.Security.Cryptography.AsymmetricAlgorithm -> System.Security.Cryptography.AsymmetricSignatureFormatter
override this.CreateFormatter : System.Security.Cryptography.AsymmetricAlgorithm -> System.Security.Cryptography.AsymmetricSignatureFormatter
Public Overridable Function CreateFormatter (key As AsymmetricAlgorithm) As AsymmetricSignatureFormatter

參數

key
AsymmetricAlgorithm

要在 AsymmetricSignatureFormatter 中使用的金鑰。

傳回

新建立的 AsymmetricSignatureFormatter 執行個體。

適用於

另請參閱