Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

RsaSignatureCookieTransform Constructor (RSA)

.NET Framework 4.6 and 4.5

Initializes a new instance of the RsaSignatureCookieTransform class by using the specified RSA key.

Namespace:  System.IdentityModel
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public RsaSignatureCookieTransform(
	RSA key
)

Parameters

key
Type: System.Security.Cryptography.RSA

The RSA key to use as the default signing and verification key.

ExceptionCondition
ArgumentNullException

key is null.

The SigningKey property is initialized to key. The VerificationKeys property is initialized to a collection that contains key as its only element.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft