--- a/crypto/weakcryptospi/inc/spi/keyagreementplugin.h Tue Nov 24 09:06:03 2009 +0200
+++ b/crypto/weakcryptospi/inc/spi/keyagreementplugin.h Thu Dec 17 09:28:34 2009 +0200
@@ -50,6 +50,9 @@
Set the private key for this keyagreement. Reset() is called to reinitialize the keyAgreement
@param aSelfPrivateKey The private key of one of the parties
@param aParams The parameters shared between both parties
+
+ @leave ... Any of the crypto error codes defined in
+ cryptospi_errs.h or any of the system-wide error codes.
*/
virtual void SetKeyL(const CKey& aSelfPrivateKey, const CCryptoParams* aParams) = 0;
@@ -58,6 +61,9 @@
@param aOtherPublicKey The public key of the other party
@param aParams The parameters shared between both parties
@return A pointer to a CKey instance containing the agreed key
+
+ @leave ... Any of the crypto error codes defined in
+ cryptospi_errs.h or any of the system-wide error codes.
*/
virtual CKey* AgreeL(const CKey& aOtherPublicKey, const CCryptoParams* aParams) = 0;
};
@@ -71,6 +77,9 @@
Set the private key for this keyagreement. Reset() is called to reinitialize the keyAgreement
@param aSelfPrivateKey The private key of one of the parties
@param aParams The parameters shared between both parties
+
+ @leave ... Any of the crypto error codes defined in
+ cryptospi_errs.h or any of the system-wide error codes.
*/
virtual void SetKeyL(const CKey& aSelfPrivateKey, const CCryptoParams* aParams) = 0;
@@ -80,6 +89,9 @@
@param aKey A pointer to a CKey instance containing the agreed key
@param aParams The parameters shared between both parties
@param aRequestStatus
+
+ @leave ... Any of the crypto error codes defined in
+ cryptospi_errs.h or any of the system-wide error codes.
*/
virtual void AgreeL(const CKey& aOtherPublicKey, CKey& aKey, const CCryptoParams* aParams, TRequestStatus& aRequestStatus) = 0;