Werner Dittmann <Werner.Dittmann <at> t-online.de> writes: > > Alexey, > > with XMLCipher you can only encrypt/decrypt XML documents > according to the W3c standard, using symmetric ciphers. > > You try to use a public key cipher (assymmetric), such a cipher > is used to wrap the symmetric key. > > Regards, > Werner >
Hi Werner, Actually I tried symmetric (3DES) with the same result. If I were to code to standard, I'd still need to get an instance of RSA (assymetric) cipher, would I not? To "wrap" the symmetric key. I understand, that BC defined RSA cipher as "RSA/ECB/PKCS1Padding" and triple-DES as "DESedeWrap", which can't be found in my provider, so the question is has anybody worked around the same issue? Thanks, Alexey