ProtectedDataCookieTransform ProtectedDataCookieTransform ProtectedDataCookieTransform ProtectedDataCookieTransform Class


Provides cookie integrity and confidentiality by using the ProtectedData class. This class cannot be inherited.

public ref class ProtectedDataCookieTransform sealed : System::IdentityModel::CookieTransform
public sealed class ProtectedDataCookieTransform : System.IdentityModel.CookieTransform
type ProtectedDataCookieTransform = class
    inherit CookieTransform
Public NotInheritable Class ProtectedDataCookieTransform
Inherits CookieTransform


Due to the nature of the ProtectedData class, cookies which use this transform can only be read by the same computer that wrote them. As such, this transform is not appropriate for use in applications that run on a web server farm.


ProtectedDataCookieTransform() ProtectedDataCookieTransform() ProtectedDataCookieTransform() ProtectedDataCookieTransform()

Creates a new instance of the ProtectedDataCookieTransform class.


Decode(Byte[]) Decode(Byte[]) Decode(Byte[]) Decode(Byte[])

Verifies data protection and returns the decrypted data.

Encode(Byte[]) Encode(Byte[]) Encode(Byte[]) Encode(Byte[])

Protects (encrypts) the specified data.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also