Пространство имен: Microsoft.IdentityModel.SecurityTokenService
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)

Использование

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)

Синтаксис

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
)

Параметры

certificate
keyWrappingAlgorithm
keySizeInBits
encryptionAlgorithm

Платформы

Платформа разработки

Windows Server 2003, Windows Vista

Target Platforms

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

См. также