語言

X509EncryptingCredentials 類別

定義

代表用作加密憑證的 X.509 令牌。 此類別通常用作金鑰包裝憑證。

public ref class X509EncryptingCredentials : System::IdentityModel::Tokens::EncryptingCredentials
public class X509EncryptingCredentials : System.IdentityModel.Tokens.EncryptingCredentials
type X509EncryptingCredentials = class
    inherit EncryptingCredentials
Public Class X509EncryptingCredentials
Inherits EncryptingCredentials
繼承
X509EncryptingCredentials

建構函式

名稱 Description
X509EncryptingCredentials(X509Certificate2, SecurityKeyIdentifier, String)

根據指定的 X.509 憑證、金鑰包裝演算法及安全金鑰識別碼,初始化該 X509EncryptingCredentials 類別的新實例。

X509EncryptingCredentials(X509Certificate2, SecurityKeyIdentifier)

根據指定的 X.509 憑證和安全金鑰識別碼初始化該 X509EncryptingCredentials 類別的新實例。

X509EncryptingCredentials(X509Certificate2, String)

根據指定的 X.509 憑證與金鑰包裝演算法初始化該 X509EncryptingCredentials 類別的新實例。

X509EncryptingCredentials(X509Certificate2)

根據指定的 X.509 憑證初始化該 X509EncryptingCredentials 類別的新實例。

屬性

名稱 Description
Algorithm

取得或設定加密演算法。

(繼承來源 EncryptingCredentials)
Certificate

取得 X.509 證書。

SecurityKey

取得或設定加密金鑰資料。

(繼承來源 EncryptingCredentials)
SecurityKeyIdentifier

取得或設定識別碼,以識別加密憑證。

(繼承來源 EncryptingCredentials)

方法

名稱 Description
Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetType()

取得目前實例的 Type。

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於