• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

IBM Java Cryptography Extension (JCE)

Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've been struggling for a week or two to get anything in the javax.crypto package to work for me.

J2SE 1.4.2, IBM Rational Application Developer 6.0, IBM WebSphere App Server (although that last one's not really relevant for this example problem)

Any program I make that utilizes Java Cryptography gives the following exception:

Most recommendations I've come across for solving this involved reordering the crytographic service providers in java.security, so here is my current arrangement:


Finally, here's an example program that causes the exception:

The exception's the same with the Security.addProvider line uncommented.

Any ideas or guidance would be greatly appreciated. Thanks for your time.
[ July 29, 2008: Message edited by: Jon Evans ]
Why fit in when you were born to stand out? - Seuss. Tiny ad:
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic