Title: Message
 
    In C++ error occures in WinCAPICryptoKeyRSA.cpp in privateDecrypt(). CryptoAPI function call CryptDecrypt() fails for PAD_PKCS_1_5 and XSEC throws exception: "WinCAPI:RSA privateKeyDecrypt - Error Decrypting PKCS1_5 padded RSA encrypt".
 
    I remember similar interoperability difficulties when I've been using XML signature. I had to "rotate" all bytes (big/little endian issue). Is this something similar?
 
Best regards,
Milan
 
-----Original Message-----
From: Vishal Mahajan [mailto:[EMAIL PROTECTED]
Sent: Friday, October 01, 2004 5:06 PM
To: [EMAIL PROTECTED]
Subject: Re: [java & c++] interoperability & encryption

What's the error observed?

Vishal

Milan Tomic wrote:

Hi,

        I'm having problems with Apache XSEC Java & C++ interoperability when using encryption. When I encrypt some XML node in Java I can't decrypt it using C++ libraries, and the same happen when I encrypt using C++ and try to decrypt in Java. The only thing that is different in encrypted XML is random 3DES kek key that was generated. Have anyone else had this problem?

Thank you,
milan


Reply via email to