bc-java icon indicating copy to clipboard operation
bc-java copied to clipboard

JceCMSContentEncryptorBuilder使用扩展算法

Open hemiaol opened this issue 1 year ago • 0 comments

If you need to use sm4, then when generating Cipher, if you call CreateCipher with NamedJcaJceExtHelper, the parameter required is Cipher.getInstance("SM4","BC"), However, the JceCMSContentEncryptorBuilder passed through the sm4 oid, causing the creation of the Cipher object to fail.

hemiaol avatar Jul 31 '24 08:07 hemiaol