X509EncryptingCredentials 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
根據指定的 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 憑證。
安全性金鑰識別碼。
適用於
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 憑證。
安全性金鑰識別碼。
- keyWrappingAlgorithm
- String
金鑰包裝演算法。