語言

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
衍生
屬性

備註

非對稱金鑰交換格式器會加密金鑰交換資料。

金鑰交換允許發送者創造秘密資訊,例如可作為對稱加密演算法金鑰的隨機資料,並利用加密方式將其傳送給預定的接收者。

注意事項

強烈建議您不要僅憑基本功能自行創建金鑰交換方法,因為許多細節必須謹慎執行,才能使金鑰交換成功。

建構函式

名稱 Description
AsymmetricKeyExchangeFormatter()

初始化 AsymmetricKeyExchangeFormatter 的新執行個體。

屬性

名稱 Description
Parameters

當在派生類別中覆寫時,會得到非對稱金鑰交換的參數。

方法

名稱 Description
CreateKeyExchange(Byte[], Type)

當在派生類別中覆寫時,會從指定的輸入資料建立加密金鑰交換資料。

CreateKeyExchange(Byte[])

當在派生類別中覆寫時,會從指定的輸入資料建立加密金鑰交換資料。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetType()

取得目前實例的 Type。

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
SetKey(AsymmetricAlgorithm)

當在衍生類別中覆寫時,會設定公鑰用於加密秘密資訊。

ToString()

傳回表示目前 物件的字串。

(繼承來源 Object)

適用於

另請參閱