开发者

Generate keys on smartcard with given exponent

I am generating keys on a smartcard with OpenSC. Is it possible to specify a certain exponent to use? Currently I am calling sc_pkcs15init_generate_key() to generate the key pair. But I did not find a way to set the exponent. I am aware, that it is possible to generate the key with a given exponent on the PC, but I do not want to do t开发者_开发知识库hat for security reasons.


  • Not all smart cards are happy with the exponents you'd like to use, even when importing existing keys.
  • There is no uniform way of passing in the exponent for the newly generated key in OpenSC, AFAIK/AFAIS.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜