Hi,
Please remove my email address from your email list. Thanks.
Regards,
[EMAIL PROTECTED]
Raul Benito wrote:
Vishal Mahajan wrote:
Berin Lautenbach wrote:
OK - I've tested with 1.3 and I get the following :
- All Encryption tests get skipped, with an error about algorithm not
supported. Now that's possibly true in 1.3 but see below.
- All Signature tests pass *except* anything with a SHA1 HMAC -
something about algorithm not found. Now I would have thought SHA1
HMACs would work with 1.3?
So I then moved to a 1.4 JDK and get :
- All encryption tests get skipped as for 1.3. That's *not* good -
I'll have a look this arvo to see what I can come up with.
I have found where the problem is. Before the JCE mapping simply
patch any provider that is in the classpath is used, now as there is
no code to search the providers in the classpath you need to tell the
JCE to use your provider explicitly with:
Security.addProvider(new BouncyCastleProvider());
for example.
Berin, if you put this line in a static block in the test case
everything works.
Regards,
Raul
http://r-bg.com