This is a discussion on Validate xml digital signature(Creates in dotnet) using Java - Java ; Hi all My Scenario is as below: An xml message is signed in .netfrmework 2.0 . The message is signed using a .pfx file which is of type PKCS12.The signature algorithm used is SHA1RSA. I am trying to validate the ...
Hi all
My Scenario is as below:
An xml message is signed in .netfrmework 2.0 . The message is signed using a .pfx file which is of type PKCS12.The signature algorithm used is SHA1RSA.
I am trying to validate the above signed message in Java using the same PKCS12 file using the javax.xml.crypto.dsig api .Everytime when i try to validate the signed message with Java Code , i get the result as INVALID. But if try to sign a message with the same Java API and try to vaidate it..it is successful.
The problem is only with signed message in .net.
Please let me know if there is any incomaptibility in RSACryptography in dotnet and Java.What could be done in Java , to validate a Signed message from dotnet?
Thanks
Jay