--- a/crypto/weakcryptospi/inc/spi/keypairgeneratorplugin.h Tue Nov 24 09:06:03 2009 +0200
+++ b/crypto/weakcryptospi/inc/spi/keypairgeneratorplugin.h Thu Dec 17 09:28:34 2009 +0200
@@ -47,6 +47,9 @@
@param aKeySize The algorithm-specific metric as a number of bits
@param aKeyParameters The list of algorithm-specific parameters used by the generator to generate the key pair
@param aKeyPair The generated key pair
+
+ @leave ... Any of the crypto error codes defined in
+ cryptospi_errs.h or any of the system-wide error codes.
*/
virtual void GenerateKeyPairL(TInt aKeySize, const CCryptoParams& aKeyParameters, CKeyPair*& aKeyPair) = 0;
};
@@ -62,6 +65,9 @@
@param aKeyParameters The list of algorithm-specific parameters used by the generator to generate the key pair
@param aKeyPair The generated key pair
@param aRequestStatus
+
+ @leave ... Any of the crypto error codes defined in
+ cryptospi_errs.h or any of the system-wide error codes.
*/
virtual void GenerateKeyPairL(TInt aKeySize, const CCryptoParams& aKeyParameters, CKeyPair*& aKeyPair, TRequestStatus& aRequestStatus) = 0;