我在用jce的时候出现了,问题如下我的代码如下Security.addProvider(new com.sun.crypto.provider.SunJCE()); Cipher c1 = Cipher.getInstance("DES");运行后出现下面错误:java.lang.ExceptionInInitializerError: java.lang.SecurityException: Cannot set up certs for trusted CAs at javax.crypto.b.([DashoPro-V1.2-120198]) at javax.crypto.Cipher.getInstance([DashoPro-V1.2-120198]) 好像是说什么证书? 请帮助我一下吧,我的email [email protected]
Cipher c1 = Cipher.getInstance("DES");运行后出现下面错误:java.lang.ExceptionInInitializerError: java.lang.SecurityException:
Cannot set up certs for trusted CAs
at javax.crypto.b.([DashoPro-V1.2-120198])
at javax.crypto.Cipher.getInstance([DashoPro-V1.2-120198])
好像是说什么证书?
请帮助我一下吧,我的email [email protected]