You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'invalid signature: for uri calculated digest is feVHY81U/0kFf7k/9TlIBcJFcyU= but the xml to validate supplies digest LM32hTRe1rIxDWfwEHXfD5hMT9c=' ]
#169
Closed
sourabhlodha opened this issue
Jan 30, 2019
· 5 comments
I am using java to sign the xml and verify in node but It give me invalid signature. For Reference Please find below the xml file
[ 'invalid signature: for uri calculated digest is feVHY81U/0kFf7k/9TlIBcJFcyU= but the xml to validate supplies digest LM32hTRe1rIxDWfwEHXfD5hMT9c=' ]
Problem here is that the EnvelopedSignature is not correct. It removes the first direct child signature of the document, while it should remove the signatures in which the transformation itself is defined (hence enveloped signature). Within the implementation, EnvelopedSignature should have notion of its own location within the document.
Hi Team,
I am using java to sign the xml and verify in node but It give me invalid signature. For Reference Please find below the xml file
[ 'invalid signature: for uri calculated digest is feVHY81U/0kFf7k/9TlIBcJFcyU= but the xml to validate supplies digest LM32hTRe1rIxDWfwEHXfD5hMT9c=' ]
Signed XML
Java Code
Using xml-sec jar file
Node js
used xml-crypto
Not able to find the issue.Can anyone help in providing the solution.
The text was updated successfully, but these errors were encountered: