Hi,
I'm having trouble on creating a Detached signature of resources referenced
by files URI's and FTP URI's.
After looking the sources files I decided to create tests for these
situations.
I had modified the tests on the following tests:
org.apache.xml.security.test.signature.CreateSignatureTest
> Following up on kb's thread on signing less than the whole document, I
> would like to ask how to use the API to sign a sub-tree of my document. It is
> easy for me to retrieve the sub-tree (i.e. the parent element) because it's
> unique.
Retrieving it via some kind of DOM call is not relevant,
> > Yes, but it's somewhat difficult. You can either use an XPath filter
> > transform to select the node, or refer to the node by an ID attribute.
>
> It's not 100% clear to me how you mean that, but I am new to XML Security
> (though not to XML). Do you see the problem in retrieving the correct
Hi,
Following up on kb's thread on signing less than the whole document, I would
like to ask how to use the API to sign a sub-tree of my document. It is easy
for me to retrieve the sub-tree (i.e. the parent element) because it's
unique.
But I don't quite get how I can apply the API to it: the
Scott,
On Wednesday 01 August 2007 21:20:52 Scott Cantor wrote:
> > is there a way that i could just sign just one element from the whole
> > xml.
>
> Yes, but it's somewhat difficult. You can either use an XPath filter
> transform to select the node, or refer to the node by an ID attribute.
It's