What's wrong with IBM's JCE provider?

前端 未结 6 1438
慢半拍i
慢半拍i 2020-12-28 23:29

I have a JCE test that works fine with all Sun JDKs I have tried, but fails with various IBM J9 JDKs (e.g. 1.6.0 build pwi3260sr8-20100409_01(SR8)). The exception below happ

6条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-29 00:15

    There is a solution, see http://www-01.ibm.com/support/docview.wss?uid=swg1IV18625

    with the property

    -Dcom.ibm.crypto.provider.DoRSATypeChecking=false
    

    you can use private keys to encrypt data.

提交回复
热议问题