conn::CSBSecureId Class Reference

class conn::CSBSecureId : public conn::CSBGenericDataType

Generic Data Type representing a data owner identified by a SecureId

Byte Structure

All child classes have their data following on from the parent classes so that the parent classes may remain atomic with respect to the structure of their data. The binary structure of this data type inside the descriptor buffer is as follows. Note that the endianness of the data types specified below is determined by the platform and the PC must pack accordingly:

TSBDerivedType [4-bytes]

TSecureId [4-bytes]

Generic Data Type representing a data owner identified by a SecureId

Byte Structure

All child classes have their data following on from the parent classes so that the parent classes may remain atomic with respect to the structure of their data. The binary structure of this data type inside the descriptor buffer is as follows. Note that the endianness of the data types specified below is determined by the platform and the PC must pack accordingly:

TSBDerivedType [4-bytes]

TSecureId [4-bytes]

Inherits from

Constructor & Destructor Documentation

CSBSecureId()

CSBSecureId()[private]

C++ Constructor. Any derived types must increment iSize in their C++ constructors in order that when CSBGenericDataType::BaseConstructL() is called, the data buffer is initialised to be large enough to accomodate the data stored by the derived type

~CSBSecureId()

IMPORT_C~CSBSecureId()

C++ Destructor

Member Functions Documentation

ConstructL(TSecureId)

voidConstructL(TSecureIdaSecureId)[private]

Symbian OS 2nd phase constructor.

Parameters

TSecureId aSecureIdthe secure identifier

ConstructL(CSBGenericDataType *)

voidConstructL(CSBGenericDataType *aGenericDataType)[private]

Parameters

CSBGenericDataType * aGenericDataType

InitialiseL(TInt &)

voidInitialiseL(TInt &aOffset)[protected, virtual]

Initialise all member pointers to data

Parameters

TInt & aOffsetThe running offset of where the descriptor has been parsed up to

NewL(TSecureId)

IMPORT_C CSBSecureId *NewL(TSecureIdaSecureId)[static]

Symbian constructor used for creating a derived class from it's constituent parameters. Used for example when creating a derived type from scratch

Parameters

TSecureId aSecureIdthe secure identifier

SecureIdL()

IMPORT_C TSecureIdSecureIdL()const

Member Data Documentation

TInt iSecureIdOffset

TInt iSecureIdOffset[private]

the secure identifier