locked
Digitaly sign a message from an SafeNet Ikey USB Token RRS feed

  • Question

  • Hey every one, im trying to Digitaly sign a message from an SafeNet
    Ikey USB Token.
    Im using C# .NET 2.0

    And i can do it ( all with .net functions., using system.security.Cryptography namespace ).

    it prompt for  the correct certificate, and asks the pin, and signs a message. all fine.


    My problem: its a web application, so it got to be all automatic without any user input.


    I can choose the certificate from the windows store ( when you place
    the token in usb, it automaticly  inserts the certificate in the
    store ).
    what i can't do, is to put the pin, without any user interaction.

    ive tryed and tryed several methods unsuccessfuly.
    is it need to use a pkcs11 api to manualy do all the signing?

    Ive heard of using xenroll COM DLL ??

    or i can do it with .net ?


    Anyone can point me in the right direction please?


    Regards
    Thursday, February 14, 2008 9:31 AM