I have what I hope is a simple question. I am trying to sign the
EncryptedData element in an XML document. This element has an id attribute
of "ed1".

If I use a same-document reference URI of "#ed1" I get the desired result;
i.e., the digest is only calculated for the EncryptedData fragment of the
XML file.

The question I have is as follows, shouldn't specifying a reference URI of
"" along with a XPath filtering transform of "//[EMAIL PROTECTED]'ed1']" 
accomplish the
same thing? When I try this, the digest is computed for the entire document.
Any thoughts?

Incidentally, I am using the JSR-105 implementation distributed with JWSDP
1.6.

Regards,

Paul Buhler
Computer Science Dept.
College of Charleston




Reply via email to