-
-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XAdESVerifier verify CertDigest by index #247
base: develop
Are you sure you want to change the base?
Conversation
Test suite fails for nonconformant-X_BE_CONN_10.xml. It has 2 X509Certificate nodes and 2 xades:Cert nodes. Previous code raised a InvalidDigest. The new code checks both Digests as OK as it compares by list index. |
Please add a PR description with the motivation for this change. |
Notice that test is changed as one was an error before and now it is not as Digests match. |
Thanks. I will take a look at that test case and see if this is the correct way to make it work. |
7e7f504
to
b3de531
Compare
Fix for #246. I found out that if I have multiple certificates in cert parameter to sign, the digest check would fail. Since it was signed with signxml, it was strange. Looking at code I found a problem. This is the solution.