Thanks Ulf for your suggestion .
Please bear with me since some of the questions may sound vague and inappropriate.
My lack of basics related to JCE and the need to do an implementation of JCE
is driving me nuts .
OK : here goes with a few more of my doubts :
I am using JDK1.3
I tried using the "DES" algorithm
I could get it running by adding "jce1_2_2.jar" & "sunjce_provider.jar" in my classpath
Here is a link which provided me with information about setting up JCE for 1.2.x flavour of JDK : Security
To get it running -
1 >option 1 - add the following line :
2 >The other option is - add this line in my Java code :
Here are my observations :
If I dont do either of the above configuration ( for SunJCE Provider ) then I get a run time exception java.security.NoSuchAlgorithmException: Algorithm DES not available
So my questions / doubts / inferences are :
1 >DES is not supported by the other providers : sun.security.provider.Sun
2 >So what kind of algorithms are supported by either sun.security.provider.Sun
3 >I am and will be using JDK1.3
So are there any examples of algorithms that are supported by the providers mentioned above ?
4 >If I wanted to use SunJCE provider - is it better to add the provider through code or in the java.security file ?
What are the advantages or disadvantages in the above method ?
4 >Could someone point me to some examples which use the above providers ?
5 >I tried looking into JDK1.3 - I am not able to locate the classes with the correct Package structure ?
So I am not sure if these are classes that need to be implemented by some third party ?
Any help is greatly appreciated .