NoSuchAlgorithmException :Algorithm SunX509 not available
843811Feb 22 2004 — edited Feb 23 2004
Hi
I have generated key pairs using Keytool utility and imported my digital certificate into Keystore file and trying to make use that key to sign the message.While doing so I am getting following Exception
Java.security.NoSuchAlgorithmException: Algorithm SunX509 not available.
The above exception was throwing at
KeyManagerFactory kmf= KeyManagerFactory.getInstance("SunX509") .
I have set classpath for 3 jar files i.e Jcert.JAR , jNET.JAR,jSSE.jar . Also adde these jar file in the lib directory.
I n my code I also adding providers dynamically with follwoing code.
Security.addProvider(new com.sun.net.ssl.internal.ssl.provider)
I am working on Websphere 4.01 application server.
Can you please help me what else I need to do to . Am I missing anything.
Thanks a lot.
JL