Re: how to specify JCE provider for XML encryption

2005-10-24 Thread Alexey
Werner Dittmann t-online.de> writes: > > Alexey, > > I've used such a mechansims in Apache's WSS4J project: > > - generate a symmetric key, e.g. for 3DES > - encrypt some data with this key > - uses RSA/ECB/PKCS1Padding to encrypt this symmetric > ke

Re: how to specify JCE provider for XML encryption

2005-10-24 Thread Alexey
Werner Dittmann 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

Re: how to specify JCE provider for XML encryption

2005-10-22 Thread Alexey
Raul Benito apache.org> writes: > > This way of setting the Provider using the JCEMapper, has some bugs(it > works for digesting/signing but not for crypt/decrypt). > Anyway I was thinking of deprecating/removing this methods. > So if more people use it please raise your hands, soon. > > On 10/

how to specify JCE provider for XML encryption

2005-10-21 Thread Alexey
ception: No message with ID "XMLCipher instance without transformation specified" found in resource bundle "org/apache/xml/security/resource/xmlsecurity" Is it possible to re-use a cipher for different algorithms? Thanks, Alexey