Table of Contents

Class EncryptedSerializeFormatter

Namespace
Ceres.Serialization
Assembly
Ceres.dll

Encrypted formatter using AES encryption

public class EncryptedSerializeFormatter : ISerializeFormatter
Inheritance
EncryptedSerializeFormatter
Implements
Inherited Members

Constructors

EncryptedSerializeFormatter()

Creates an encrypted formatter from config

public EncryptedSerializeFormatter()

EncryptedSerializeFormatter(string)

Creates an encrypted formatter with a password-based key

public EncryptedSerializeFormatter(string password)

Parameters

password string

Password to derive the encryption key from

Methods

Deserialize(Stream)

Deserialize data from a stream

public string Deserialize(Stream stream)

Parameters

stream Stream

Source stream to read from

Returns

string

Deserialized data

Serialize(Stream, string)

Serialize data to a stream

public void Serialize(Stream stream, string data)

Parameters

stream Stream

Target stream to write to

data string

Data to serialize