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?
Asked
Active
Viewed 180 times
2

Homaei
- 177
- 1
- 1
- 10

Nuqie Noila
- 71
- 7
1 Answers
3
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
.

Homaei
- 177
- 1
- 1
- 10