FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to digitally sign an xml document
Posts: 82
Joined: Fri Mar 03, 2006 06:26 PM
How to digitally sign an xml document
Posted: Thu Apr 12, 2018 03:07 PM

I want to sign a xml document using a P12 certificate in a FWXH application. Does anyone have a sample program or code extract to do this?
I found an article on the Microsoft site which has a full example in C# and an example in Java on another site. The problem is I wouldn't know where to start trying to convert C# or Java.

Any help would be appreciated.

TIA
David

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: How to digitally sign an xml document
Posted: Thu Apr 12, 2018 03:34 PM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
Re: How to digitally sign an xml document
Posted: Thu Apr 12, 2018 05:27 PM

Antonio,

A resource to sign xml files using certified through FWH will be very usefully.

Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Posts: 1303
Joined: Tue Jul 21, 2009 08:12 AM
Re: How to digitally sign an xml document
Posted: Sun Apr 15, 2018 09:32 AM

Yes, very important for electrónic invoices.

Thanks !.

Muchas gracias. Many thanks.



Un saludo, Best regards,



Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]



Implementando MSVC 2010, FWH64 y ADO.



Abandonando uso xHarbour y SQLRDD.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: How to digitally sign an xml document
Posted: Mon Apr 16, 2018 07:03 AM

David,

Have you been able to implement that C code ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 82
Joined: Fri Mar 03, 2006 06:26 PM
Re: How to digitally sign an xml document
Posted: Mon Apr 16, 2018 10:54 AM

Antonio,

Thank you for that link. I'm leaning towards the C version, as I have used Openssl before. I also have C# and VB examples so I need to make up my mind :? .

I hope to get going on it this week. I'll update you then.

Regards
David

Continue the discussion