TDecryptFilter Class Reference

class TDecryptFilter : public TSecureFilter

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 an instance of a class implementing the CPBDecryptor interface.

RDecryptStream CSecureStore CPBDecryptor

Public Member Functions
TDecryptFilter ()
IMPORT_C void SetL ( MStreamBuf *, CPBDecryptor *, TInt )
Protected Member Functions
IMPORT_C void DoRelease ()
Private Member Functions
IMPORT_C void CompleteL ( TDes8 &, const TDesC8 &)
IMPORT_C TInt CryptL ( TDes8 &, const TDesC8 &)
Inherited Functions
MStreamBuf::Close()
MStreamBuf::MStreamBuf()
MStreamBuf::PushL()
MStreamBuf::Read(TDes8 &,TInt,TRequestStatus &)
MStreamBuf::Read(TDes8 &,TRequestStatus &)
MStreamBuf::ReadL(MStreamInput &)
MStreamBuf::ReadL(MStreamInput &,TInt)
MStreamBuf::ReadL(MStreamInput &,TStreamTransfer)
MStreamBuf::ReadL(TAny *,TInt)
MStreamBuf::ReadL(TDes8 &,TInt,TRequestStatus &)
MStreamBuf::ReadL(TDes8 &,TRequestStatus &)
MStreamBuf::Release()
MStreamBuf::SeekL(TMark,TStreamLocation,TInt)
MStreamBuf::SeekL(TMark,TStreamPos)
MStreamBuf::SeekL(TRead,TInt)
MStreamBuf::SeekL(TRead,TStreamLocation,TInt)
MStreamBuf::SeekL(TWrite,TInt)
MStreamBuf::SeekL(TWrite,TStreamLocation,TInt)
MStreamBuf::SizeL()const
MStreamBuf::Synch()
MStreamBuf::SynchL()
MStreamBuf::TellL(TRead)const
MStreamBuf::TellL(TWrite)const
MStreamBuf::Write(const TDesC8 &,TInt,TRequestStatus &)
MStreamBuf::Write(const TDesC8 &,TRequestStatus &)
MStreamBuf::WriteL(MStreamOutput &)
MStreamBuf::WriteL(MStreamOutput &,TInt)
MStreamBuf::WriteL(MStreamOutput &,TStreamTransfer)
MStreamBuf::WriteL(const TAny *,TInt)
MStreamBuf::WriteL(const TDesC8 &,TInt,TRequestStatus &)
MStreamBuf::WriteL(const TDesC8 &,TRequestStatus &)
TSecureFilter::Capacity(TInt)
TSecureFilter::DoSynchL()
TSecureFilter::EmitL(const TDesC8 &)
TSecureFilter::FilterL(TAny *,TInt,const TUint8 *&,const TUint8 *)
TSecureFilter::Set(MStreamBuf *,TInt)
TSecureFilter::TSecureFilter()
TStreamFilter::Committed()
TStreamFilter::DoReadL(TAny *,TInt)
TStreamFilter::DoWriteL(const TAny *,TInt)
TStreamFilter::EmitL(const TAny *,TInt)
TStreamFilter::IsCommitted()const
TStreamFilter::TStreamFilter()
Inherited Enumerations
MStreamBuf:TRead
MStreamBuf:TWrite
TStreamFilter:@28
Private Attributes
CPBDecryptor * iKey

Constructor & Destructor Documentation

TDecryptFilter()

IMPORT_C TDecryptFilter ( )

Constructs an empty decrypting filter object.

The decrypting filter must be set up before use.

Set()

Member Functions Documentation

CompleteL(TDes8 &, const TDesC8 &)

IMPORT_C void CompleteL ( TDes8 & aTarget,
const TDesC8 & aSource
) [private, virtual]

Parameters

TDes8 & aTarget
const TDesC8 & aSource

CryptL(TDes8 &, const TDesC8 &)

IMPORT_C TInt CryptL ( TDes8 & aTarget,
const TDesC8 & aSource
) [private, virtual]

Parameters

TDes8 & aTarget
const TDesC8 & aSource

DoRelease()

IMPORT_C void DoRelease ( ) [protected, virtual]

Frees the host stream's resources.

MStreamBuf::DoRelease()

SetL(MStreamBuf *, CPBDecryptor *, TInt)

IMPORT_C void SetL ( MStreamBuf * aHost,
CPBDecryptor * aKey,
TInt aMode = ERead
)

Parameters

MStreamBuf * aHost
CPBDecryptor * aKey
TInt aMode = ERead

Member Data Documentation

CPBDecryptor * iKey

CPBDecryptor * iKey [private]