Creates a new instance of RsaSignatureCookieTransform
Пространство имен: Microsoft.IdentityModel.Web
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)

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

Visual Basic
Dim certificate As X509Certificate2

Dim instance As New RsaSignatureCookieTransform(certificate)

Синтаксис

Visual Basic
Public Sub New ( _
		certificate As X509Certificate2 _
)
C#
public RsaSignatureCookieTransform (
		X509Certificate2 certificate
)
C++
public:
RsaSignatureCookieTransform (
		X509Certificate2^ certificate
)
J#
public RsaSignatureCookieTransform (
		X509Certificate2 certificate
)
JScript
public function RsaSignatureCookieTransform (
		certificate : X509Certificate2
)

Параметры

certificate

Certificate whose private key is used to sign

Исключения

Тип исключений Условие
ArgumentNullException

When certificate is null

ArgumentException

When the certificate has no private key

-or-

When the certificate's key is not RSA

Платформы

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

Windows Server 2003, Windows Vista

Target Platforms

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

См. также