X509EncryptingCredentials Constructors

Definition

Initializes a new instance of the X509EncryptingCredentials class based on a specified X.509 certificate.

Overloads

X509EncryptingCredentials(X509Certificate2)

Initializes a new instance of the X509EncryptingCredentials class based on the specified X.509 certificate.

X509EncryptingCredentials(X509Certificate2, SecurityKeyIdentifier)

Initializes a new instance of the X509EncryptingCredentials class based on the specified X.509 certificate and security key identifier.

X509EncryptingCredentials(X509Certificate2, String)

Initializes a new instance of the X509EncryptingCredentials class based on the specified X.509 certificate and key wrapping algorithm.

X509EncryptingCredentials(X509Certificate2, SecurityKeyIdentifier, String)

Initializes a new instance of the X509EncryptingCredentials class based on the specified X.509 certificate, key wrapping algorithm, and security key identifier.

X509EncryptingCredentials(X509Certificate2)

Initializes a new instance of the X509EncryptingCredentials class based on the specified X.509 certificate.

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)

Parameters

certificate
X509Certificate2

The X.509 certificate.

Applies to

X509EncryptingCredentials(X509Certificate2, SecurityKeyIdentifier)

Initializes a new instance of the X509EncryptingCredentials class based on the specified X.509 certificate and security key identifier.

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)

Parameters

certificate
X509Certificate2

The X.509 certificate.

ski
SecurityKeyIdentifier

The security key identifier.

Applies to

X509EncryptingCredentials(X509Certificate2, String)

Initializes a new instance of the X509EncryptingCredentials class based on the specified X.509 certificate and key wrapping algorithm.

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)

Parameters

certificate
X509Certificate2

The X.509 certificate.

keyWrappingAlgorithm
String

The key wrapping algorithm.

Applies to

X509EncryptingCredentials(X509Certificate2, SecurityKeyIdentifier, String)

Initializes a new instance of the X509EncryptingCredentials class based on the specified X.509 certificate, key wrapping algorithm, and security key identifier.

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)

Parameters

certificate
X509Certificate2

The X.509 certificate.

ski
SecurityKeyIdentifier

The security key identifier.

keyWrappingAlgorithm
String

The key wrapping algorithm.

Applies to