Skip to content

新增加解密方法传入transformation #136

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
May 10, 2022

Conversation

lddssxy
Copy link
Contributor

@lddssxy lddssxy commented May 6, 2022

新增encrypt(String message, X509Certificate certificate, String transformation) 和 decrypt(String ciphertext, PrivateKey privateKey, String transformation)允许用户在调用加解密方法时传入特定的transformation, 使现有Java SDK可以兼容境外部分接口加解密使用的RSA/ECB/PKCS1Padding Transformation

yxyuxia added 2 commits May 6, 2022 14:26
… decrypt method in RsaCryptoUtil class to support user to specify Cipher Transformation while encrypting and decrypting. Test case is added as well
…ption and decryption to avoid misunderstanding
@lianup lianup merged commit 66c0d34 into wechatpay-apiv3:master May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants