Sign/encrypt a webservice call with an eToken

V

Veerle

Hi,

I have an Aladdin etoken pro key. This is a sort of an USB smart card
token. I need to make a webservice call and sign/encrypt this call
with the etoken. I would like to get some sample code to get me
started. But I don't seem to be able to find much sample code
searching Google.

The closest I get is someone signing a pdf with a smartcard:
http://itextpdf.sourceforge.net/howtosign.html#signextitextsharp2.
I guess that the part for accessing the smartcard will probably be the
same for what I want to do. Then I need to use the private key to sign/
encrypt the webservice call and send the public key along with the
call so that the server side code can decrypt the whole thing.

Anyone can provide me with some working sample code?

Veerle
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top