Serializer using AES (Advanced Encryption Standard).

Namespace: Eneter.Messaging.DataProcessing.Serializing
Assembly: Eneter.Messaging.Framework (in Eneter.Messaging.Framework.dll) Version: 5.0.0.0 (5.0.0.0)

Syntax

C#
public class AesSerializer : ISerializer
Visual Basic
Public Class AesSerializer _
	Implements ISerializer
Visual C++
public ref class AesSerializer : ISerializer

Remarks

The serializer uses an underlying serializer to serialize and deserialize data. Data encoded by the underlying serializer is then encrypted by AES.

Examples

Encrypted serialization with XmlStringSerializer
 Copy imageCopy
// Create the serializer. The defualt constructor uses XmlStringSerializer.
AesSerializer aSerializer = new AesSerializer("My password.");

// Create some data to be serialized.
MyData aData = new MyData();
...

// Serialize data with using AES.
object aSerializedData = aSerializer.Serialize<MyData>(aData);


Notice, since AesSerializer serializes into array of bytes, it is not possible to use this serializer for the communication between two Silverlight applications. The communication between two silverlight applications requires, that data is serialized into the string.

Inheritance Hierarchy

System..::..Object
  Eneter.Messaging.DataProcessing.Serializing..::..AesSerializer

Version Information

.NET

Supported in: .NET 4.5, .NET 4.0, .NET 3.5

Mono

Supported in: Mono 2.6.4

Silverlight

Supported in: Silverlight 5, Silverlight 4, Silverlight 3

Windows Phone

Supported in: Windows Phone 7.1, Windows Phone 7

See Also