Location:
random.h
Link against: random.lib
class RRandomSession : public RSessionBase;
The client interface to the system random number generator. End users should use TRandom
instead of this interface.
RHandleBase
- A handle to an object
RSessionBase
- Client-side handle to a session with a server
RRandomSession
- The client interface to the system random number generator
Defined in RRandomSession
:
ConnectL()
, GetRandom()
, RRandomSession()
Inherited from RHandleBase
:
Attributes()
,
Close()
,
Duplicate()
,
FullName()
,
Handle()
,
HandleInfo()
,
Name()
,
SetHandle()
,
SetHandleNC()
,
iHandle
Inherited from RSessionBase
:
CreateSession()
,
EAutoAttach
,
EExplicitAttach
,
Open()
,
Send()
,
SendReceive()
,
SetReturnedHandle()
,
ShareAuto()
,
ShareProtected()
,
TAttachMode
IMPORT_C TInt GetRandom(TDes8 &aDestination);
Fills the provided buffer with secure random data up to its current length, discarding any current content.
|
|
IMPORT_C void ConnectL(void);
Opens a new session with the random number server.