Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - stefano simonato

Pages: [1]
Digital Signatures / Signing XML with smartcard(private key not exportable)
« on: February 23, 2018, 03:39:52 PM »

I am trying to sign xml with a smartcard and getting the error bellow:

ChilkatLog: SetX509Cert:
     DllDate: Nov 10 2017
     UnlockPrefix: CISSSA.CB1112018
     Architecture: Little Endian; 32-bit
     Language: ActiveX
     VerboseLogging: 0
     usePrivateKey: 1
       Failed to export private key.
       The private key is not exportable from the Windows protected
     Certificate does not have a private key.   --SetX5>09Cert

I am using the a CertStore to get a object Cert(it has the private key) but when i call SetX509Cert using this object Cert, the error ocurs.

How can I sign my xml?

Pages: [1]