Hi peter, 

With regards to the baseURI I think this is explained in the FAQ. Check it
out, if it doesn't help you might want to ask the same question on the XML
security mailing list.

http://xml.apache.org/security/Java/faq.html#baseURI

The actor and mustUnderstand attribs are explained by the w3c:

http://www.w3schools.com/SOAP/soap_header.asp?output=print

Hope this helps!

Regards, 

Richard

-----Original Message-----
From: pacow [mailto:[EMAIL PROTECTED] 
Sent: 29 March 2004 03:44
To: [EMAIL PROTECTED]
Subject: Significance of 'baseURI' in XMLSignature constructor

What is the significance of the variable 'baseURI' in the XMLSignature
constructor?

> ex: XMLSignature sig = new XMLSignature(doc, baseURI,
XMLSignature.ALGO_ID_SIGNATURE_RSA);
>

does it affect how the document is signed?  also, how does it relate to
the following attributes of the '<soapenv:Envelope..>' tag?

> env.addAttribute(Constants.URI_SOAP11_ENV, "actor", "some-uri");
> env.addAttribute(Constants.URI_SOAP11_ENV, "mustUnderstand", "1");
>

finally, what is the significance of these 2 attributes?  what do they need
to

refer to for the signature to be verified properly? are they even required
at all?

thanks,
-peter



Reply via email to