-
-
Notifications
You must be signed in to change notification settings - Fork 345
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
SM2的公私钥生成后,怎么根据公钥值(pubKey.getQ().getEncoded(false))得到ECPublicKeyParameters对象 #2
Comments
BCECUtil里增加了createEcPublicKey方法,结合Sm2UtilTest里的测试代码,参考一下 |
BCECUtil没看到啊,是还没提交么? |
提交了,你pull一下 |
看到了,不过还是没搞懂那个x、y是啥。 |
@shijl80 感谢指正错误 |
非常感谢!已经成功通过 |
@shijl80 |
请问下,SM2的公私钥生成后,先保存公钥值(pubKey.getQ().getEncoded(false)),
之后怎么根据这个值重新生成ECPublicKeyParameters对象?
还有私钥参数对象(ECPrivateKeyParameters)?
The text was updated successfully, but these errors were encountered: