AW: Re: how to specify JCE provider for XML encryption

2005-10-24 Thread Dittmann, Werner
Alexey, DESede/CBC/ISO10126Padding is support with the Sun provider AFAIK, als the RSA mode. Did you install the unresticted security policy for the Sun provider? if not you may have problems with RSA greater than 512bit AFAIK. Regards, Werner > -Ursprüngliche Nachricht- > Von: news [mai

Re: how to specify JCE provider for XML encryption

2005-10-24 Thread Raul Benito
Ok, As there are several people that use this "feature" (I did code for myself), I will continue it(at least till there JSR105 api becomes the official API). And I'll promise to fix all the bugs in it(i.e. apply the patch that you wrote in the bugzilla). Regards, And good night. On 10/24/

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 > key (not DESedeWarp, this would be used if y

Re: how to specify JCE provider for XML encryption

2005-10-24 Thread Werner Dittmann
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 key (not DESedeWarp, this would be used if you encrypt - wrap - a key with e.g. 3DES). Alternatively

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 symmetric key. > > Regards, > Wern

RE: how to specify JCE provider for XML encryption

2005-10-24 Thread Julien TAUPIN
I use this method to specify my JCE provider. So I raise my hands !! But if another way to select my provider exists (except placing it at the first rank in the provider list), I can change my code -Message d'origine- De : Raul Benito [mailto:[EMAIL PROTECTED] Envoyé : samedi 22 octobr