curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Is it possible to use curl to sign an XML payload with a certificate?

From: Zakrzewski, Jakub via curl-library <curl-library_at_lists.haxx.se>
Date: Mon, 28 Feb 2022 07:53:46 +0000

> From: curl-library <curl-library-bounces_at_lists.haxx.se> on behalf of Anders Gustafsson via curl-library <curl-library_at_lists.haxx.se>
> Sent: 28 February 2022 08:12
> To: curl-library_at_lists.haxx.se <curl-library_at_lists.haxx.se>
> Cc: Anders Gustafsson <Anders.Gustafsson_at_pedago.fi>
> Subject: Is it possible to use curl to sign an XML payload with a certificate?
>
> Ie, sign an XML file before sending ith with curl?
>
> <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
> <SignedInfo>

Curl does not interpret or understand the payload you're sending, so no.
You must sign it before you hand it over to curl.



-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2022-02-28