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 实例。

适用于

另请参阅