Thx Vik I can do this in dot Net. I’m looking for a Delphi implementation so we can fit it into some existing code. The Clever Components suite appears to have an implementation but don’t want to splash out for the $
Cheers D David Moorhouse (BCom) | Principal Software Engineer - HealthOne Pegasus Health (Charitable) Ltd P: 03 353 0871 | W: www.pegasus.org.nz<http://www.pegasus.org.nz/> E: [email protected]<mailto:[email protected]> PO Box 741, Christchurch 8140 160 Bealey Ave, Christchurch 8014 [cid:[email protected]] From: [email protected] [mailto:[email protected]] On Behalf Of Vik Vasudev Sent: Friday, 29 July 2016 9:46 a.m. To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Signing XML Hi David, May be this might help (sorry its not a Delphi code its in C#) https://msdn.microsoft.com/en-us/library/ms229744(v=vs.110).aspx On Fri, Jul 29, 2016 at 8:53 AM, David Moorhouse <[email protected]<mailto:[email protected]>> wrote: Hi We have the need to sign a snippet of XML with an X509 digital certificate. The algorithm is to canonicalise the XML, compute a SHA256 hash on this, and sign the hash with the certificate’s private key. I can’t see any easy way of doing this within the VCL. Any hints, or better still working code, are appreciated. David David Moorhouse (BCom) | Principal Software Engineer - HealthOne Pegasus Health (Charitable) Ltd P: 03 353 0871 | W: www.pegasus.org.nz<http://www.pegasus.org.nz/> E: [email protected]<mailto:[email protected]> PO Box 741, Christchurch 8140 160 Bealey Ave, Christchurch 8014 [cid:[email protected]] ***************************************************** This email or attachment(s) may contain confidential or legally privileged information intended for the sole use of the addressee(s). Any use, redistribution, disclosure, or reproduction of this message, except as intended, is prohibited. If you received this email in error, please notify the sender and erase all copies of the message, including any attachments. Any views or opinions expressed in this email (unless otherwise stated) may not represent those of Pegasus Health Ltd. ********************************************************** _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected]<mailto:[email protected]> Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [email protected]<mailto:[email protected]> with Subject: unsubscribe -- vikas ******************************************************************************** This email or attachment(s) may contain confidential or legally privileged information intended for the sole use of the addressee(s). Any use, redistribution, disclosure, or reproduction of this message, except as intended, is prohibited. If you received this email in error, please notify the sender and erase all copies of the message, including any attachments. Any views or opinions expressed in this email (unless otherwise stated) may not represent those of Pegasus Health Ltd. ********************************************************************************
_______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [email protected] with Subject: unsubscribe
