I am attempting to use the javax.crypto classes in order to decrypt and encrypt information. However, when I attempt the use the following line of code:
desDeCrypt = Cipher.getInstance( "DES/ECB/NoPadding" );
I get the following exception:
java.lang.ExceptionInInitializerError: java.lang.SecurityException: Cannot set up certs for trusted CAs
at javax.crypto.b.<clinit>([DashoPro-V1.2-120198])
at javax.crypto.Cipher.getInstance([DashoPro-V1.2-120198])
Any thoughts on why this might be happening? It's really putting a damper on my day.
Any help at all would be greatly appreciated.
Thanks,
Michael Lundin
desDeCrypt = Cipher.getInstance( "DES/ECB/NoPadding" );
I get the following exception:
java.lang.ExceptionInInitializerError: java.lang.SecurityException: Cannot set up certs for trusted CAs
at javax.crypto.b.<clinit>([DashoPro-V1.2-120198])
at javax.crypto.Cipher.getInstance([DashoPro-V1.2-120198])
Any thoughts on why this might be happening? It's really putting a damper on my day.
Any help at all would be greatly appreciated.
Thanks,
Michael Lundin