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

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

Visual Basic
Dim certificate As X509Certificate2
Dim ski As SecurityKeyIdentifier
Dim keyWrappingAlgorithm As String

Dim instance As New X509EncryptingCredentials(certificate, ski, keyWrappingAlgorithm)

Синтаксис

Visual Basic
Public Sub New ( _
		certificate As X509Certificate2, _
		ski As SecurityKeyIdentifier, _
		keyWrappingAlgorithm As String _
)
C#
public X509EncryptingCredentials (
		X509Certificate2 certificate,
		SecurityKeyIdentifier ski,
		string keyWrappingAlgorithm
)
C++
public:
X509EncryptingCredentials (
		X509Certificate2^ certificate, 
		SecurityKeyIdentifier^ ski, 
		String^ keyWrappingAlgorithm
)
J#
public X509EncryptingCredentials (
		X509Certificate2 certificate, 
		SecurityKeyIdentifier ski, 
		String keyWrappingAlgorithm
)
JScript
public function X509EncryptingCredentials (
		certificate : X509Certificate2, 
		ski : SecurityKeyIdentifier, 
		keyWrappingAlgorithm : String
)

Параметры

certificate
ski
keyWrappingAlgorithm

Платформы

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

Windows Server 2003, Windows Vista

Target Platforms

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

См. также