语言

AsymmetricKeyExchangeFormatter 类

定义

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

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

注解

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

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

Caution

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

构造函数

名称 说明
AsymmetricKeyExchangeFormatter()

初始化 的新 AsymmetricKeyExchangeFormatter实例。

属性

名称 说明
Parameters

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

方法

名称 说明
CreateKeyExchange(Byte[], Type)

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

CreateKeyExchange(Byte[])

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

Equals(Object)

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

(继承自 Object)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type。

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
SetKey(AsymmetricAlgorithm)

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

ToString()

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

(继承自 Object)

适用于

另请参阅