> In this signature, the Reference element in the SignedInfo has the > attribute URI="". I understand that this references the current > document, which is correct. In this case, I think I need to ensure the > Transform directives exclude the Signature element itself via nested > XPath elements. For example:
Just use the enveloped signature transform, it does exactly what you want. > Is this correct? If so, how can I achieve this programatically? There should be an example program that shows how to add the enveloped transform before signing. -- Scott