Skip to content

Commit

Permalink
fixed certificat namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Cand committed Nov 25, 2022
1 parent fd5aa3f commit 210c25b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SAML2/Utils/XmlSignatureUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ private static void CheckDocument(XmlElement el)
private static List<X509Certificate2> GetCertificates(XmlDocument doc)
{
var certificates = new List<X509Certificate2>();
var nodeList = doc.GetElementsByTagName("ds:X509Certificate");
var nodeList = doc.GetElementsByTagName("X509Certificate", Saml20Constants.Xmldsig);
if (nodeList.Count == 0)
{
nodeList = doc.GetElementsByTagName("X509Certificate");
Expand Down

0 comments on commit 210c25b

Please sign in to comment.