我正在集成支付网关集成,并且我确实部署了 bouncy castle jar,并在 java.security 文件中添加了一个条目security.provider.11=org.bouncycastle.jce.provider.BouncyCastleProvider
在运行时,我确实有以下提到的例外;我该如何解决这个问题?java版本是 1.7.0 (IBM J9 VM)
java.security.InvalidKeyException: Illegal key size
at javax.crypto.Cipher.a(Unknown Source)
at javax.crypto.Cipher.a(Unknown Source)
at javax.crypto.Cipher.a(Unknown Source)
at javax.crypto.Cipher.init(Unknown Source)
at javax.crypto.Cipher.init(Unknown Source)