Rajesh, two things, may be stupid.
- some of the security classes are supported in jvm1.4+
- since you have imported the class in java program, can you try using
public X509Certificate getAcceptedIssuers() instead of
public java.security.cert.X509Certificate getAcceptedIssuers()
i do not see any reason for adding jarfiles to your packages as most of the classes used are core java apis.
D.C.