Creates a new instance of RsaSignatureCookieTransform
Namespace: Microsoft.IdentityModel.Web
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim certificate As X509Certificate2

Dim instance As New RsaSignatureCookieTransform(certificate)

Syntax

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
)

Parameters

certificate

Certificate whose private key is used to sign

Exceptions

Exception type Condition
ArgumentNullException

When certificate is null

ArgumentException

When the certificate has no private key

-or-

When the certificate's key is not RSA

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

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

See Also