Edit

Share via


RsaEncryptionCookieTransform.EncryptionKey Property

Definition

Gets or sets the RSA key used for encryption.

public:
 virtual property System::Security::Cryptography::RSA ^ EncryptionKey { System::Security::Cryptography::RSA ^ get(); void set(System::Security::Cryptography::RSA ^ value); };
public virtual System.Security.Cryptography.RSA EncryptionKey { get; set; }
member this.EncryptionKey : System.Security.Cryptography.RSA with get, set
Public Overridable Property EncryptionKey As RSA

Property Value

RSA

The RSA key used for encryption.

Remarks

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

Applies to