AsymmetricKeyExchangeFormatter 类

定义

表示从中派生出所有非对称密钥交换格式化程序的基类。

public ref class AsymmetricKeyExchangeFormatter abstract
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public abstract class AsymmetricKeyExchangeFormatter
public abstract class AsymmetricKeyExchangeFormatter
[System.Runtime.InteropServices.ComVisible(true)]
public abstract class AsymmetricKeyExchangeFormatter
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
type AsymmetricKeyExchangeFormatter = class
type AsymmetricKeyExchangeFormatter = class
[<System.Runtime.InteropServices.ComVisible(true)>]
type AsymmetricKeyExchangeFormatter = class
Public MustInherit Class AsymmetricKeyExchangeFormatter
继承
AsymmetricKeyExchangeFormatter
派生
属性

注解

非对称密钥交换格式化程序加密密钥交换数据。

密钥交换允许发送方创建机密信息,例如可以用作对称加密算法中的密钥的随机数据,并使用加密将其发送到预期收件人。

注意

强烈建议不要尝试根据提供的基本功能创建自己的密钥交换方法,因为必须仔细执行操作的许多详细信息才能成功进行密钥交换。

构造函数

AsymmetricKeyExchangeFormatter()

初始化 AsymmetricKeyExchangeFormatter 的新实例。

属性

Parameters

在派生类中重写时,获取非对称密钥交换的参数。

方法

CreateKeyExchange(Byte[])

当在派生类中重写时,请从指定的输入数据创建加密的密钥交换数据。

CreateKeyExchange(Byte[], Type)

当在派生类中重写时,请从指定的输入数据创建加密的密钥交换数据。

Equals(Object)

确定指定对象是否等于当前对象。

(继承自 Object)
GetHashCode()

作为默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。

(继承自 Object)
SetKey(AsymmetricAlgorithm)

当在派生类中重写时,设置要用于加密机密信息的公钥。

ToString()

返回表示当前对象的字符串。

(继承自 Object)

适用于

另请参阅