Enveloped signature on a non-root document element

2005-07-19 Thread Nicholas G Harlow
Hello, I am trying to add an enveloped signature to a particular element of a document.  The element is not the root element of the document.  The problem is that the signature element generated has no digest value.  I have tried using element id attributes to make this work, but clearly I am mis

RE: Enveloped signature on a non-root document element

2005-07-19 Thread Seetharama Rao Durbha \(sdurbha\)
I presume that wst:RequestSecurityToken is not your root, though in the sample you pasted, it is the root element.   Can you share the piece of code you have for this and the input xml?   From: Nicholas G Harlow [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 19, 2005 11:38 AM To

RE: Enveloped signature on a non-root document element

2005-07-19 Thread Nicholas G Harlow
Hi there, Here is the code I'm using to generate the signature (the variable docRoot is actually the element I want to have signed): public synchronized void createEnvelopedSignature(OutputStream out, Document doc, Node docRoot, PrivateKey signingKey, PublicKey publicKey,