Hi,
I'm trying to access my personal MacOS X keychain store to retrieve a specific private key in a Java applet. I've already posted my problem
here, but I've had no answer. In brief, I want to access a specific private key specified by the user and use it to sign some data. The signing part is completed and functional, however and can't get the private key that the user wants.
As specified in my previous post, I've tried to make a simple class that accesses the user keychain store and returns every public / private key pairs to see why I can't make it work in an applet. Turns out that I can't access more than one private key at a time. Moreover, the private key that I have access to is not the one I'm interested in. Removing that private key just allows me to access another private key, but still not the one I want.
So my questions are:
- Has anyone had the same problem?
- Is it a problem, or some kind of security measure? If so, how can I access a specific private key that the user wants to use for signing?
Thanks in advance,