Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.security.NoSuchAlgorithmException

843811Dec 27 2006 — edited Dec 27 2006
Hi ,

I am trying to use SHA-256 Hashing Encryption Algorithm in my program. When i call the program through a simple java call it works fine.
But when i m calling the same program on a Server it gives me this java.security.NoSuchAlgorithmException.

Aapparently i found this entry security.provider.1=sun.security.provider.Sun in my java.security file.
This provider is being used during the java Call

However on the Server when i do Security.getProvider("SUN") it simply says "missing provider". Can anyone suggest anything.
By Server i mean IBM WASD 5.0

Thanking in advance,

Regards,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 24 2007
Added on Dec 27 2006
3 comments
286 views