Milan,

I've just done a very simple fix in XMLCipher to better handle a CryptoException. Let me know if it fixes the problem!

Cheers,
        Berin

-------- Original Message --------
Subject: Re: Encrypting with multiple public keys
Date: Wed, 04 Aug 2004 19:51:56 +1000
From: Berin Lautenbach <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
References: <[EMAIL PROTECTED]>

Milan Tomic wrote:
Is an exception being thrown at all?

Yes, the exception message is "WinCAPI:RSA privateKeyDecrypt - Error Decrypting PKCS1_5 padded RSA encrypt" in WinCAPICryptoKeyRSA.cpp.



Hmm. Which is a XSECCryptoException. So what I might do is put a catch clause in there for anything derived from XSECCryptoException and continue. If anything else comes through (which would indicate a more serious problem), then that would fall through to the (...) catch clause and get re-thrown.

Will check something in - hopefully tonight.

Cheers,
        Berin





Reply via email to