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
The constructor in class XadesSignature that is passed a stream does not enable the option to preserve whitespace when the XML document is created. This means that any signature created which includes whitespace in <SignedInfo> will not pass the check of the <SignatureValue> digest in the method CheckSignature.
The fix is simple: after the XML document instance is created on line 63 add the line:
document.PreserveWhitespace=true;
This flag is already set when the XML document is created in method CreateSignature.
The text was updated successfully, but these errors were encountered:
The constructor in class XadesSignature that is passed a stream does not enable the option to preserve whitespace when the XML document is created. This means that any signature created which includes whitespace in <SignedInfo> will not pass the check of the <SignatureValue> digest in the method CheckSignature.
The fix is simple: after the XML document instance is created on line 63 add the line:
This flag is already set when the XML document is created in method CreateSignature.
The text was updated successfully, but these errors were encountered: