Accessing Hardware PKCS11 Token on a 64 Bit Machine

后端 未结 2 1663
清酒与你
清酒与你 2021-01-12 06:31

So here\'s what I\'m trying to do. I have a hardware token with some certs on it and I\'m writing a Java application to try and access those certs. I have used the SunPKCS11

相关标签:
2条回答
  • 2021-01-12 06:39

    Assuming your {java.home} points to jre6, sunpkcs11.jar is in the {java.home}/lib/ext; If your {java.home} points to jdk1.6, sunpkcs11.jar is in the {java.home}/jre/lib/ext; I've tested it against the newly installed jdk and jre. Please verify your installation.

    EDITED (summarising the comments)
    In java 64-bit version pkcs11 is not available.

    0 讨论(0)
  • 2021-01-12 06:43

    PKCS11 Support was not implemented because there was no way to test that library (somehow, whatever).

    This has changed in Java 8, though. Since J8b49 a 64 bit Version is included. See: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6880559

    0 讨论(0)
提交回复
热议问题