Celartem::CipherStream Class Reference

#include <cel_crypt.h>

Inheritance diagram for Celartem::CipherStream:

Inheritance graph
[legend]

List of all members.

Static Public Member Functions

static AutoPtr< CipherStreamcreate (Storage *inStorage, const BlockCipher *inCipher, u32 inSalt)
static AutoPtr< CipherStreamcreate (Stream *inStream, const BlockCipher *inCipher)


Detailed Description

This class is used to encrypt/decrypt the data in Stream.

Definition at line 127 of file cel_crypt.h.


Member Function Documentation

static AutoPtr<CipherStream> Celartem::CipherStream::create ( Storage inStorage,
const BlockCipher inCipher,
u32  inSalt 
) [static]

This method creates a new CipherStream instance for write.

Parameters:
inCipher Pointer to a Cipher instance. It should be properly initialized before calling this method.
inSalt A salt value.

static AutoPtr<CipherStream> Celartem::CipherStream::create ( Stream inStream,
const BlockCipher inCipher 
) [static]

This method creates a new CipherStream instance for read.

Parameters:
inCipher Pointer to a Cipher instance. It should be properly initialized before calling this method.


The documentation for this class was generated from the following file:
This document is automatically generated using doxygen 1.5.4 at Fri Jun 27 18:23:15 2008.