Singing XML message in SAP Business Connector
How can we sign an XML message in SAP Business Connector?
Right now I am using SAP BC service - pub.security.pkcs7:sign, But when I send file to the other web server, there it is not able to decoding into US-ASCII format.
And also when I am verifying using service - pub.security.pkcs7.verify for debugging purpose it is giving below signer info;
javax.crypto.BadPaddingException: Invalid PKCS#1 padding: encrypted message and modulus lengths do not match
Can you please suggest me is it correct one to sign XML? If not what I can do?
Please help me.
Thanks and regards,