RsaEncryptionCookieTransform Members

[Starting with the .NET Framework 4.5, Windows Identity Foundation (WIF) has been fully integrated into the .NET Framework. The version of WIF addressed by this topic, WIF 3.5, is deprecated and should only be used when developing against the .NET Framework 3.5 SP1 or the .NET Framework 4. For more information about WIF in the .NET Framework 4.5, also known as WIF 4.5, see the Windows Identity Foundation documentation in the .NET Framework 4.5 Development Guide.]

Encrypts a cookie using RSA.

The following tables list the members exposed by the RsaEncryptionCookieTransform type.

Public Constructors

  Name Description
  RsaEncryptionCookieTransform Overloaded. Creates a new instance of RsaEncryptionCookieTransform.

Top

Public Properties

(see also Protected Properties)

  Name Description
public property EncryptionKey Gets or sets the RSA key used for encryption
public property HashName Gets or sets the name of the hash algorithm to use.

Top

Protected Properties

  Name Description
protected property DecryptionKeys Gets the keys used for decryption By default, this property returns a list containing only the encryption key.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Decode Overridden. Decrypts data using the provided RSA key(s) to decrypt an AES key, which decrypts the cookie.
public method Encode Overridden. Encode the data. The data is encrypted using the default encryption algorithm (AES-256), then the AES key is encrypted using RSA and the RSA public key is appended.
public method Equals  (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method ToString  (Inherited from Object)

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

Top

See Also

Reference

RsaEncryptionCookieTransform Class
Microsoft.IdentityModel.Web Namespace

Copyright © 2008 by Microsoft Corporation. All rights reserved.