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)

適用於

另請參閱