Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Location: e32base.h
Link against: euser.lib

Class CBoundedSecurityBase

CBoundedSecurityBase

Support

Supported from 5.0

Description

An extension base class for the security model which extends the interface.

The class adds the MaxCipherLength() interface to the security model.

Derivation

CBaseBase class for all classes to be instantiated on the heap
CBoundedSecurityBaseAn extension base class for the security model which extends the interface
CSecurityBaseA base class defining the interface to the security model

Defined in CBoundedSecurityBase:
MaxCipherLength()

Inherited from CBase:
operator new()

Inherited from CSecurityBase:
IsEnabled(), NewDecryptL(), NewEncryptL(), PrepareL(), SecurityData(), SetEnabledL(), SetL()


MaxCipherLength()

virtual TInt MaxCipherLength(TInt aPlainTextLength) const = 0;

Description

Returns the length of the encrypted data block corresponding to a given input data length.

A derived class must provide a concrete implementation for this function. The detail is dependent on the encryption scheme used.

Parameters

TInt aPlainTextLength

The length of the unencrypted data block

Return value

TInt

The length of the encrypted data block