RsaSignatureCookieTransform Constructor (RSA)
Collapse the table of content
Expand the table of content

RsaSignatureCookieTransform Constructor (RSA)

.NET Framework (current version)
 

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.

Exception Condition
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
Available since 4.5
Return to top
Show:
© 2016 Microsoft