equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of the License "Eclipse Public License v1.0" |
5 * under the terms of the License "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
138 |
138 |
139 /** |
139 /** |
140 * |
140 * |
141 * Implements the contract as specified in the base class, CRandom, filling the buffer |
141 * Implements the contract as specified in the base class, CRandom, filling the buffer |
142 * supplied with random data up to its current length, discarding its current content. |
142 * supplied with random data up to its current length, discarding its current content. |
143 * It will leave with KErrNotSecure when the generated random data is not secure enough. |
143 * It will leave under no memory condition. |
144 * |
144 * |
145 * @param aDest The buffer to which to write random data |
145 * @param aDest The buffer to be filled with random data |
146 * @leave KErrNotSecure The generated random data is not secure enough for cryptographic operations |
|
147 * otherwise, leaves with any other system wide error codes. |
|
148 * |
146 * |
149 */ |
147 */ |
150 virtual void GenerateBytesL(TDes8& aDest); |
148 virtual void GenerateBytesL(TDes8& aDest); |
151 |
149 |
152 ~CSystemRandom(); |
150 ~CSystemRandom(); |