How to change token label without re-initializing it?

可紊 提交于 2021-01-27 21:06:37

问题


I'm aware of initToken(char[] pin, java.lang.String label) from the IAIK docs. But the function will reset the token and any data in the token would be lost. I just want to change the token label without losing token's content. Is there any way to do it?


回答1:


There is no standard function in PKCS#11 to change the token label. Thus, it seems that the only way to change the label is re-initialization using C_initToken.



来源:https://stackoverflow.com/questions/60556467/how-to-change-token-label-without-re-initializing-it

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