共用方式為


X509EncryptingCredentials 建構函式

定義

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

多載

X509EncryptingCredentials(X509Certificate2)

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

X509EncryptingCredentials(X509Certificate2, SecurityKeyIdentifier)

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

X509EncryptingCredentials(X509Certificate2, String)

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

X509EncryptingCredentials(X509Certificate2, SecurityKeyIdentifier, String)

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

X509EncryptingCredentials(X509Certificate2)

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

public:
 X509EncryptingCredentials(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate);
public X509EncryptingCredentials (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
new System.IdentityModel.Tokens.X509EncryptingCredentials : System.Security.Cryptography.X509Certificates.X509Certificate2 -> System.IdentityModel.Tokens.X509EncryptingCredentials
Public Sub New (certificate As X509Certificate2)

參數

certificate
X509Certificate2

X.509 憑證。

適用於

X509EncryptingCredentials(X509Certificate2, SecurityKeyIdentifier)

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

public:
 X509EncryptingCredentials(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate, System::IdentityModel::Tokens::SecurityKeyIdentifier ^ ski);
public X509EncryptingCredentials (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, System.IdentityModel.Tokens.SecurityKeyIdentifier ski);
new System.IdentityModel.Tokens.X509EncryptingCredentials : System.Security.Cryptography.X509Certificates.X509Certificate2 * System.IdentityModel.Tokens.SecurityKeyIdentifier -> System.IdentityModel.Tokens.X509EncryptingCredentials
Public Sub New (certificate As X509Certificate2, ski As SecurityKeyIdentifier)

參數

certificate
X509Certificate2

X.509 憑證。

ski
SecurityKeyIdentifier

安全性金鑰識別碼。

適用於

X509EncryptingCredentials(X509Certificate2, String)

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

public:
 X509EncryptingCredentials(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate, System::String ^ keyWrappingAlgorithm);
public X509EncryptingCredentials (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, string keyWrappingAlgorithm);
new System.IdentityModel.Tokens.X509EncryptingCredentials : System.Security.Cryptography.X509Certificates.X509Certificate2 * string -> System.IdentityModel.Tokens.X509EncryptingCredentials
Public Sub New (certificate As X509Certificate2, keyWrappingAlgorithm As String)

參數

certificate
X509Certificate2

X.509 憑證。

keyWrappingAlgorithm
String

金鑰包裝演算法。

適用於

X509EncryptingCredentials(X509Certificate2, SecurityKeyIdentifier, String)

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

public:
 X509EncryptingCredentials(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate, System::IdentityModel::Tokens::SecurityKeyIdentifier ^ ski, System::String ^ keyWrappingAlgorithm);
public X509EncryptingCredentials (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, System.IdentityModel.Tokens.SecurityKeyIdentifier ski, string keyWrappingAlgorithm);
new System.IdentityModel.Tokens.X509EncryptingCredentials : System.Security.Cryptography.X509Certificates.X509Certificate2 * System.IdentityModel.Tokens.SecurityKeyIdentifier * string -> System.IdentityModel.Tokens.X509EncryptingCredentials
Public Sub New (certificate As X509Certificate2, ski As SecurityKeyIdentifier, keyWrappingAlgorithm As String)

參數

certificate
X509Certificate2

X.509 憑證。

ski
SecurityKeyIdentifier

安全性金鑰識別碼。

keyWrappingAlgorithm
String

金鑰包裝演算法。

適用於