capricieuse wrote, On 2008-09-24 05:04:
> I am developing an application for signing Web Formular and i m using
> a UsbToken to get to the Private Key.
> I what that my application connecte from the server side to client
> side and load information from the Token to the server where the
> signature system will be achived.

By definition, connections originate with clients and go to servers.
So, if the connection goes from your "server" to your "client", then
your server is actually a client, and your client is actually a server.

What information do you hope to transfer from the token to the server?
I hope it's not the private key.  The signature needs to be done where
the private key is stored.  You don't move the key to be with the data.
You move the data to be with the key.

> First i m not sure that this connection mode will be opérationnel.
> Then i added the NSS Library to my  Sun Application server and i added
> the following Module :
> 
>   2. Sun Crypto Accelerator
>       library name: c:\windows\system32\cmP11.dll
>        slots: There are no slots attached to this module
>       status: loaded
> 
> What is messing is the Slots ,i don't how to add then and their exacte
> value. 

You don't.  It's the job of the PKCS#11 module to do that.  It may be
that the module is waiting for some piece of hardware to be plugged in,
but the module should figure out what slots it has and should show them
to you.

> When i connected form the client side and tried to load data
> from token i got the following execption :
> slotListIndex is 0 but token only has 0 slots

Yeah, You need to ask the creator of that PKCS#11 module for help.
You won't get far without slots.  ;)
_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to