How to Encode nodejs ecdh public key as pem

自作多情 提交于 2019-12-24 04:17:12

问题


Unable to sign a file with nodejs crypto

I am trying to verify a signed document created like in this thread using the method verify.verify() with the ECDH public key. Therefore, i guess, i have to format the raw public key into valid PEM.

How would i do that using the ans1.js and bn.js module?

来源:https://stackoverflow.com/questions/50874329/how-to-encode-nodejs-ecdh-public-key-as-pem

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!