Export (0) Print
Expand All

RsaEncryptionCookieTransform.EncryptionKey Property

.NET Framework 4.5

Gets or sets the RSA key used for encryption

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

public virtual RSA EncryptionKey { get; set; }

Property Value

Type: System.Security.Cryptography.RSA
The RSA key used for encryption.

Setting this property also sets the DecryptionKeys property to a collection that contains the same key as its only element.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft