Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: s32crypt.h
Link against: estor.lib

Class TDecryptFilter

TDecryptFilter

Support

Supported from 5.0

Description

A decrypting filter.

An object of this type is used by RDecryptStream to decrypt stream data as it is read from a source stream.

Decryption itself is performed by a decryption handling object, an instance of a class implementing the CSecurityDecryptBase interface.

Derivation

MStreamBufA stream buffer that provides a generic I/O interface for streamed data
TDecryptFilterA decrypting filter
TSecureFilterBase class used in the derivation of TEncryptFilter and TDecryptFilter
TStreamFilterInterface to a stream filter

Defined in TDecryptFilter:
Set(), TDecryptFilter()

Inherited from MStreamBuf:
SeekL(), Close(), DoSeekL(), ERead, EWrite, PushL(), Read(), ReadL(), Release(), SeekL(), SizeL(), Synch(), SynchL(), TMark, TRead, TWrite, TellL(), Write(), WriteL()

Inherited from TStreamFilter:
Committed(), DoReadL(), DoRelease(), DoSynchL(), DoWriteL(), EmitL(), FilterL(), IsCommitted()

See also:


Construction


TDecryptFilter()

TDecryptFilter();

Description

Constructs an empty decrypting filter object.

The decrypting filter must be set up before use.

See also:

[Top]


Setting up the decrypting filter


Set()

void Set(MStreamBuf* aHost,CSecurityDecryptBase* aKey,TInt aMode=ERead);

Description

Sets up the decrypting filter.

Parameters

MStreamBuf* aHost

The stream buffer that is the source of encrypted data.

CSecurityDecryptBase* aKey

A decryption handling object.

TInt aMode

The mode in which the stream buffer is to be used. By default, this is read mode as represented by ERead.

See also: