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

密钥包装算法。

适用于