Open ronnysallomy opened 9 months ago
I believe the .net version needs to be updated or this needs to be added to force SHA256:
// Set the signing algorithm to RSA-SHA256. signedXml.SignedInfo.SignatureMethod = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256";
signedXml.SignedInfo.SignatureMethod = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256";
// Set the digest method to SHA-256. reference.DigestMethod = "http://www.w3.org/2001/04/xmlenc#sha256";
reference.DigestMethod = "http://www.w3.org/2001/04/xmlenc#sha256";
Please verify this, when I do a local test on sign method for the version today it write SHA256.
New version commited using SHA256 instead
I believe the .net version needs to be updated or this needs to be added to force SHA256:
// Set the signing algorithm to RSA-SHA256.
signedXml.SignedInfo.SignatureMethod = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256";
// Set the digest method to SHA-256.
reference.DigestMethod = "http://www.w3.org/2001/04/xmlenc#sha256";
Please verify this, when I do a local test on sign method for the version today it write SHA256.