Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

PKCS11 tokens

  Asked By: Daisy    Date: Aug 19    Category: Java    Views: 652
  

I want to access an iKey1000 pkcs 11 token via JDK 1.6

and generate a key pair and then generate a certificate with that key

pair and then store this entry on token but I dont have any idea about

this. I appreciate any answer.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Flynn Jones     Answered On: Aug 19

First you should prepare the provider configuration either statistically or in your code to utilize the pkcs11 library

read the pkcs11 guide on java web site if you are not clear on this.
java.sun.com/.../p11guide.html

After getting the store  installed properly it will be just the general utilizing a KeyStore and a Provider to get the proper Objects of the security functionalities provided by your token.

If the token has the provider for j2se 5 and above, using it will help u get rid of many immature problems in previous version implementations.

If your token is not providing any provider on its own rather just a native pkcs11 library try utilizing it with the SUN PKCS11 library.

 
Didn't find what you were looking for? Find more on PKCS11 tokens Or get search suggestion and latest updates.




Tagged: