equal
deleted
inserted
replaced
71 void ConstructL(); |
71 void ConstructL(); |
72 |
72 |
73 TUid iImplementationUid; |
73 TUid iImplementationUid; |
74 RCryptoDriver iCryptoDriver; |
74 RCryptoDriver iCryptoDriver; |
75 }; |
75 }; |
76 |
|
77 class RRandomSessionImpl : public RSessionBase |
|
78 /** |
|
79 * The client interface to the system random number generator. End |
|
80 * users should use TRandom instead of this interface. |
|
81 * |
|
82 * @internalAll |
|
83 * @released |
|
84 */ |
|
85 { |
|
86 public: |
|
87 RRandomSessionImpl(); |
|
88 |
|
89 /** |
|
90 * Fills the provided buffer with secure random data up to its |
|
91 * current length, discarding any current content. |
|
92 * |
|
93 * @param aDestination The buffer in to which to write the random data |
|
94 */ |
|
95 TInt GetRandom(TDes8& aDestination); |
|
96 |
|
97 /** |
|
98 * Opens a new session with the random number server. |
|
99 */ |
|
100 void ConnectL(); |
|
101 }; |
|
102 } |
76 } |
103 |
77 |
104 #endif // __CRYPTOAPI_RANDOMIMPL_H__ |
78 #endif // __CRYPTOAPI_RANDOMIMPL_H__ |