Tuesday, July 23, 2002 12:55 PM
I'm using JCE in JDK 1.4 to develop cryptografic resources in my application.
I make a singleton that realize cryptografic in strings and files. It works well standalone!
But when it's called from another class, in the same
package or another it throws the exception:
java.security.NoSuchAlgorithmException: Algorithm PBEWithMD5AndDES not available
This make-me think hat the provider isn't configured, but i execute the method:
Secutity.addProvider( new sun.security.provider.Sun())
and it gives -1. Showing to me that the provider is configured.
Anyone can give-me a light?