Namespace: Microsoft.IdentityModel.SecurityTokenService
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim certificate As X509Certificate2
Dim keyWrappingAlgorithm As String
Dim keySizeInBits As Integer
Dim encryptionAlgorithm As String

Dim instance As New EncryptedKeyEncryptingCredentials(certificate, keyWrappingAlgorithm, keySizeInBits, encryptionAlgorithm)

Syntax

Visual Basic
Public Sub New ( _
		certificate As X509Certificate2, _
		keyWrappingAlgorithm As String, _
		keySizeInBits As Integer, _
		encryptionAlgorithm As String _
)
C#
public EncryptedKeyEncryptingCredentials (
		X509Certificate2 certificate,
		string keyWrappingAlgorithm,
		int keySizeInBits,
		string encryptionAlgorithm
)
C++
public:
EncryptedKeyEncryptingCredentials (
		X509Certificate2^ certificate, 
		String^ keyWrappingAlgorithm, 
		int keySizeInBits, 
		String^ encryptionAlgorithm
)
J#
public EncryptedKeyEncryptingCredentials (
		X509Certificate2 certificate, 
		String keyWrappingAlgorithm, 
		int keySizeInBits, 
		String encryptionAlgorithm
)
JScript
public function EncryptedKeyEncryptingCredentials (
		certificate : X509Certificate2, 
		keyWrappingAlgorithm : String, 
		keySizeInBits : int, 
		encryptionAlgorithm : String
)

Parameters

certificate
keyWrappingAlgorithm
keySizeInBits
encryptionAlgorithm

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also