Skip to content
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

密钥解析失败 #17

Open
n0pn0pn0p opened this issue May 7, 2021 · 0 comments
Open

密钥解析失败 #17

n0pn0pn0p opened this issue May 7, 2021 · 0 comments

Comments

@n0pn0pn0p
Copy link

使用openssl中sm2算法生成的公私钥,用importPublicKey和importPrivateKey方法,会报错:
“Exception in thread "main" java.lang.IllegalArgumentException: Invalid point encoding 0x30
at org.bouncycastle.math.ec.ECCurve.decodePoint(Unknown Source)”

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

No branches or pull requests

1 participant