語言

ECDiffieHellmanCngPublicKey 類別

定義

指定用於該 ECDiffieHellmanCng 類別的橢圓曲線 Diffie-Hellman(ECDH)公鑰。

public ref class ECDiffieHellmanCngPublicKey sealed : System::Security::Cryptography::ECDiffieHellmanPublicKey
public sealed class ECDiffieHellmanCngPublicKey : System.Security.Cryptography.ECDiffieHellmanPublicKey
[System.Serializable]
public sealed class ECDiffieHellmanCngPublicKey : System.Security.Cryptography.ECDiffieHellmanPublicKey
type ECDiffieHellmanCngPublicKey = class
    inherit ECDiffieHellmanPublicKey
[<System.Serializable>]
type ECDiffieHellmanCngPublicKey = class
    inherit ECDiffieHellmanPublicKey
Public NotInheritable Class ECDiffieHellmanCngPublicKey
Inherits ECDiffieHellmanPublicKey
繼承
ECDiffieHellmanCngPublicKey
屬性

備註

ECDiffieHellmanCngPublicKey 物件用於與 ECDiffieHellmanCng 物件的金鑰交換。

屬性

名稱 Description
BlobFormat

取得物件的 ECDiffieHellmanCngPublicKey BLOB 金鑰格式。

方法

名稱 Description
Dispose()

釋放目前類別實例 ECDiffieHellman 所使用的所有資源。

(繼承來源 ECDiffieHellmanPublicKey)
Dispose(Boolean)

釋放類別使用的 ECDiffieHellman 非管理資源,並可選擇性地釋放受管理資源。

(繼承來源 ECDiffieHellmanPublicKey)
Equals(Object)

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

(繼承來源 Object)
ExportExplicitParameters()

將物件使用的 ECCurve 鍵和明確的曲線參數匯出到物件中 ECParameters 。

ExportParameters()

將物件使用的ECCurve金鑰匯出成物件。ECParameters

ExportSubjectPublicKeyInfo()

匯出目前的金鑰,格式為 X.509 SubjectPublicKeyInfo。

(繼承來源 ECDiffieHellmanPublicKey)
FromByteArray(Byte[], CngKeyBlobFormat)

將包含公鑰的位元組陣列轉換為依照指定格式的 ECDiffieHellmanCngPublicKey 物件。

FromXmlString(String)
已淘汰.

將 XML 字串轉換成 ECDiffieHellmanCngPublicKey 物件。

GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetType()

取得目前實例的 Type。

(繼承來源 Object)
Import()

將 ECDiffieHellmanCngPublicKey 物件轉換成物件 CngKey 。

MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToByteArray()
已淘汰.

將金鑰 BLOB 序列化 ECDiffieHellmanPublicKey 為位元組陣列。

(繼承來源 ECDiffieHellmanPublicKey)
ToString()

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

(繼承來源 Object)
ToXmlString()
已淘汰.

將公鑰序列化 ECDiffieHellmanCngPublicKey 為 RFC 4050 格式的 XML 字串。

TryExportSubjectPublicKeyInfo(Span<Byte>, Int32)

嘗試以 X.509 SubjectPublicKeyInfo 格式匯出目前金鑰。

(繼承來源 ECDiffieHellmanPublicKey)

適用於