-2

I need to sign a xml document using a token device in the client. How can i extract the private key from the token using JSF? I used to do it using an Applet.

1 Answers1

0

Basically you can't use a token device on a browser for any other thing than SSL authentication.

The security restrictions of the browsers does not allow you to access the system certificate keystore or use a PKCS#11 driver so you can not make a digital signature

In the old days the browsers allowed to run applets, but now it is not possible anymore. You would need to use an external software

Kukeltje
  • 12,223
  • 4
  • 24
  • 47
pedrofb
  • 37,271
  • 5
  • 94
  • 142