Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Location: e32base.h
Link against: euser.lib

Class CSecurityDecryptBase

CSecurityDecryptBase

Support

Supported from 5.0

Description

Defines the interface to a decryption handler which encapsulates the algorithm for data decryption.

Objects of this type are constructed by the security model.

Derivation

CBaseBase class for all classes to be instantiated on the heap
CSecurityDecryptBaseDefines the interface to a decryption handler which encapsulates the algorithm for data decryption

Defined in CSecurityDecryptBase:
DecryptL()

Inherited from CBase:
operator new()


Decryption


DecryptL()

virtual TInt DecryptL(TDes8& aOutput,const TDesC8& aInput);

Description

Decrypts data.

This is called when data needs to be decrypted. An implementation of this function should decrypt the data in aInput and present the unencrypted results in aOutput. It should also return a value indicating how much of the input data was consumed.

Parameters

TDes8& aOutput

On return, contains the decrypted data.

const TDesC8& aInput

The encrypted data.

Return value

TInt

A value indicating how much of the input data was consumed.