[xmlsec] Signing SOAP envelopes
manoj.juneja at intel.com
Fri Jun 4 10:26:15 PDT 2004
Does OASIS WSS provide the capability to include the signature
within the SOAP body? I think we can include signature only in the SOAP
header. If my understanding is wrong, can someone please point me to the
section # of WSS spec to clarify this?
From: xmlsec-bounces at aleksey.com [mailto:xmlsec-bounces at aleksey.com] On
Behalf Of Aleksey Sanin
Sent: Friday, June 04, 2004 10:10 AM
To: Erik F. Andersen
Cc: xmlsec at aleksey.com
Subject: Re: [xmlsec] Signing SOAP envelopes
> My last and hopefully final problem is how to sign a SOAP envelope? As
> far as I can determine the data to be signed is always the value of
> data-node (please correct me if I'm wrong) but this will not work with
> SOAP envelope!
You can sign any part or parts of a given XML document. Check XPath
and/or XPath2 transforms description in the spec.
> I would also like to know if it is possible to sign multible parts of
> XML independant of each other. In my case I need to sign _parts_ of
> SOAP body (the signature should stay in the body) and also sign the
> whole SOAP body (the signature should go in the SOAP header) after
> of the body has been signed.
You have to create 2 dsig:Signatures for this.
xmlsec mailing list
xmlsec at aleksey.com
More information about the xmlsec