CRandom Class Reference
class CRandom : public CBase |
Protected Member Functions |
---|
| CRandom(void) |
Constructor & Destructor Documentation
CRandom(void)
IMPORT_C | CRandom | ( | void | | ) | [protected] |
Member Functions Documentation
GenerateBytesL(TDes8 &)
void | GenerateBytesL | ( | TDes8 & | aDest | ) | [pure virtual] |
Implementations of this method should fill the passed buffer with the generated pseudo-random data up to the current length, discarding any current contents. The implementations should leave with KErrNotSecure when the generated random data is not secure enough.
-
leave
- KErrNotSecure Random data generated is not secure enough for crytographic operations otherwise, leaves with any other system wide error code.
Parameters
TDes8 & aDest | The buffer to fill with random data |
operator=(const CRandom &)
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.