[xmlsec] xml digital signatures

Vineet Bhargava vineet.bhargava at gmail.com
Tue Nov 30 14:32:28 PST 2004

To prevent any more confusion, I basically want to generate the
following XML document. I have the necessary keys and the input data,
i.e. Alpha and Beta. How do I go about signing the document (creating
the output document given below)? Even if I use XMLsec what kind of
XML document should I give as input? Should the soap envelope and
header be included? I hope I have made my problem clear.

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
EncodingType="wsse:Base64Binary" Id="X509Token"
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<Reference URI="#MsgBody">
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<SecurityTokenReference xmlns="http://schemas.xmlsoap.org/ws/2002/04/secext">
<Reference URI="X509Token"/>
<soap:Body Id="MsgBody">

On Tue, 30 Nov 2004 14:13:17 -0800, Aleksey Sanin <aleksey at aleksey.com> wrote:
> Hm.. I have no idea what are you talking about: "I get the idea
> that ... document is signed" vs. "the document does not contain
> the signature".
> BTW, using mailing list is a better way to get response.
> Aleksey

More information about the xmlsec mailing list