Share via


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

建構函式

X509EncryptingCredentials(X509Certificate2)

根據指定的 X.509 憑證初始化 X509EncryptingCredentials 類別的新執行個體。

X509EncryptingCredentials(X509Certificate2, SecurityKeyIdentifier)

根據指定的 X.509 憑證和安全性金鑰識別項,初始化 X509EncryptingCredentials 類別的新執行個體。

X509EncryptingCredentials(X509Certificate2, SecurityKeyIdentifier, String)

根據指定的 X.509 憑證、金鑰包裝演算法和安全性金鑰識別項,初始化 X509EncryptingCredentials 類別的新執行個體。

X509EncryptingCredentials(X509Certificate2, String)

根據指定的 X.509 憑證和金鑰包裝演算法,初始化 X509EncryptingCredentials 類別的新執行個體。

屬性

Algorithm

取得或設定加密演算法。

(繼承來源 EncryptingCredentials)
Certificate

取得 X.509 憑證。

SecurityKey

取得或設定加密金鑰內容。

(繼承來源 EncryptingCredentials)
SecurityKeyIdentifier

取得或設定可識別加密認證的識別項。

(繼承來源 EncryptingCredentials)

方法

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於