用Java卡在Java中构建ecpublic键
这个问题在这里与此有关: >
但是,在答案中,没有解释如何提取X和Y-我该怎么做?
This question relates to this one here: Recovering an ECPublicKey from JavaCard to Java
However in the answer it isn't explained how to extract x and y - how can I do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
“ W”值由X和Y值组成。
第一个字节应为04、02或03-,该字节表示未压缩或压缩。最后两个字节是状态字节,例如90 00。
其余字节是x,然后是y值,y值都是相同的长度
The 'w' value is made up of the x and y values.
The first byte should be either 04, 02 or 03 - which indicates if it is uncompressed or compressed. The last two bytes are status bytes, e.g. 90 00.
The remaining bytes are the x, then y value, which are both the same length