CryptoSpi::CRandom Class Reference
class CryptoSpi::CRandom : public CryptoSpi::CCryptoBase |
Synchronous Random API, which wraps a synchronous Random plugin implementation
Constructor & Destructor Documentation
CRandom(MRandom *, TInt)
CRandom | ( | MRandom * | aRandom, |
| TInt | aHandle |
| ) | [private] |
Parameters
MRandom * aRandom | |
TInt aHandle | |
Member Functions Documentation
GenerateRandomBytesL(TDes8 &)
IMPORT_C void | GenerateRandomBytesL | ( | TDes8 & | aDest | ) | |
Generate enough random bytes to fill the supplied descriptor If there is not enough entropy available, or another error occurs (e.g. out of memory) then this method may leave.
Parameters
TDes8 & aDest | The returned generated random bytes filling the descriptor |
NewL(MRandom *, TInt)
Create a CRandom instance from the given MRandom instance
Parameters
MRandom * aRandom | The random plugin instance |
TInt aHandle | |
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.