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]> 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
> E: [email protected]
> PO Box 741, Christchurch 8140
> 160 Bealey Ave, Christchurch 8014
>
> [image: 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]
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to [email protected] with
> Subject: unsubscribe
>



-- 
  vikas
_______________________________________________
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

Reply via email to