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
How to digitally sign an xml document
- David Williams
- Posts: 82
- Joined: Fri Mar 03, 2006 6:26 pm
- Location: Ireland
- Antonio Linares
- Site Admin
- Posts: 42393
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 9 times
- Been thanked: 41 times
- Contact:
Re: How to digitally sign an xml document
David,
This seems to be a good example:
https://www.codeproject.com/Articles/125124/How-to-use-certificate-from-disk-with-Microsoft-Cr
This seems to be a good example:
https://www.codeproject.com/Articles/125124/How-to-use-certificate-from-disk-with-Microsoft-Cr
Re: How to digitally sign an xml document
Antonio,
A resource to sign xml files using certified through FWH will be very usefully.
A resource to sign xml files using certified through FWH will be very usefully.
- lucasdebeltran
- Posts: 1303
- Joined: Tue Jul 21, 2009 8:12 am
- Contact:
Re: How to digitally sign an xml document
Yes, very important for electrónic invoices.
Thanks !.
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.
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.
- Antonio Linares
- Site Admin
- Posts: 42393
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 9 times
- Been thanked: 41 times
- Contact:
- David Williams
- Posts: 82
- Joined: Fri Mar 03, 2006 6:26 pm
- Location: Ireland
Re: How to digitally sign an xml document
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
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