CSystemRandom Class Reference

class CSystemRandom : public CRandom

This default pseudo-random number generator uses system state to generate entropy for the generation of random numbers.

Inherits from

Constructor & Destructor Documentation

CSystemRandom(void)

CSystemRandom(void)[private]

Parameters

void

CSystemRandom(const CSystemRandom &)

CSystemRandom(const CSystemRandom &)[private]

Parameters

const CSystemRandom &

~CSystemRandom()

~CSystemRandom()

Member Functions Documentation

ConstructL()

voidConstructL()[private]

GenerateBytesL(TDes8 &)

voidGenerateBytesL(TDes8 &aDest)[virtual]

Implements the contract as specified in the base class, CRandom, filling the buffer supplied with random data up to its current length, discarding its current content. It will leave under no memory condition.

Parameters

TDes8 & aDestThe buffer to be filled with random data

NewL(void)

IMPORT_C CSystemRandom *NewL(void)[static]

Constructs a new pseudo-random number generator.

Parameters

void

NewLC(void)

IMPORT_C CSystemRandom *NewLC(void)[static]

Constructs a new pseudo-random number generator, and places it on the cleanup stack.

Parameters

void

operator=(const CSystemRandom &)

CSystemRandom &operator=(const CSystemRandom &)[private]

Parameters

const CSystemRandom &

Member Data Documentation

CRandomShim * iShim

CRandomShim *iShim[private]