chiu01 / winzipaes

Automatically exported from code.google.com/p/winzipaes
0 stars 0 forks source link

Support Sun JCE via AesEncrypterSunJCE? #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
For modern JREs, the use of the BouncyCastle shouldn't be necessary.

Any reason not to include the ability to use Sun's JCE?

I would recommend changing the AESEncrypter interface to allow setting the 
password using a mutator or init method instead of having a constructor with a 
parameter. This will make it easier to use different AESEncrypter 
implementations.

It should also be possible to use the standard Java APIs and still use 
BouncyCastle as the provider if desired.

I would be willing to provide patches to help support these efforts.

Original issue reported on code.google.com by schultz....@gmail.com on 5 Oct 2010 at 8:31

GoogleCodeExporter commented 9 years ago
Sorry, this should be listed as ENHANCEMENT, but I didn't see an option to set 
when filing the issue. Sorry!

Original comment by schultz....@gmail.com on 5 Oct 2010 at 8:32

GoogleCodeExporter commented 9 years ago
Feel free to give it a try - I will add patches - but as far as I remember, I 
had difficulties to find a PKCS5S2ParametersGenerator in JCE working as needed.

Original comment by olaf.merkert on 6 Oct 2010 at 5:04

GoogleCodeExporter commented 9 years ago
integrated - see issue 35

Original comment by olaf.merkert on 16 Sep 2011 at 5:06