From 28583197ce768e8e9fb44c8e4b5227c4b3d29020 Mon Sep 17 00:00:00 2001
From: Westin Musser <127992899+westin-m@users.noreply.github.com>
Date: Tue, 22 Oct 2024 11:39:22 -0700
Subject: [PATCH] Fix typo (#2894)
---
src/Microsoft.IdentityModel.Xml/PublicAPI.Shipped.txt | 2 +-
src/Microsoft.IdentityModel.Xml/XmlSignatureConstants.cs | 2 +-
test/Microsoft.IdentityModel.TestUtils/Default.cs | 4 ++--
test/Microsoft.IdentityModel.TestUtils/XmlGenerator.cs | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/Microsoft.IdentityModel.Xml/PublicAPI.Shipped.txt b/src/Microsoft.IdentityModel.Xml/PublicAPI.Shipped.txt
index 648defbbb2..a5c7d1ff1c 100644
--- a/src/Microsoft.IdentityModel.Xml/PublicAPI.Shipped.txt
+++ b/src/Microsoft.IdentityModel.Xml/PublicAPI.Shipped.txt
@@ -8,7 +8,7 @@ const Microsoft.IdentityModel.Xml.XmlSignatureConstants.Attributes.Id = "Id" ->
const Microsoft.IdentityModel.Xml.XmlSignatureConstants.Attributes.NcName = "NCName" -> string
const Microsoft.IdentityModel.Xml.XmlSignatureConstants.Attributes.Nil = "nil" -> string
const Microsoft.IdentityModel.Xml.XmlSignatureConstants.Attributes.PrefixList = "PrefixList" -> string
-const Microsoft.IdentityModel.Xml.XmlSignatureConstants.Attributes.Type = "Type" -> string
+const Microsoft.IdentityModel.Xml.XmlSignatureConstants.Attributes.Type = "type" -> string
const Microsoft.IdentityModel.Xml.XmlSignatureConstants.Attributes.URI = "URI" -> string
const Microsoft.IdentityModel.Xml.XmlSignatureConstants.Elements.CanonicalizationMethod = "CanonicalizationMethod" -> string
const Microsoft.IdentityModel.Xml.XmlSignatureConstants.Elements.DigestMethod = "DigestMethod" -> string
diff --git a/src/Microsoft.IdentityModel.Xml/XmlSignatureConstants.cs b/src/Microsoft.IdentityModel.Xml/XmlSignatureConstants.cs
index f38d556172..bd7ffd70f8 100644
--- a/src/Microsoft.IdentityModel.Xml/XmlSignatureConstants.cs
+++ b/src/Microsoft.IdentityModel.Xml/XmlSignatureConstants.cs
@@ -31,7 +31,7 @@ public static class Attributes
public const string NcName = "NCName";
public const string Nil = "nil";
public const string PrefixList = "PrefixList";
- public const string Type = "Type";
+ public const string Type = "type";
public const string URI = "URI";
}
diff --git a/test/Microsoft.IdentityModel.TestUtils/Default.cs b/test/Microsoft.IdentityModel.TestUtils/Default.cs
index c2f20d0bd4..0080ecdc2c 100644
--- a/test/Microsoft.IdentityModel.TestUtils/Default.cs
+++ b/test/Microsoft.IdentityModel.TestUtils/Default.cs
@@ -1034,7 +1034,7 @@ public static Signature Signature
{
KeyInfo = KeyInfo,
SignedInfo = SignedInfo,
- SignatureValue = "OaTq3jGqbPLUVROvhiqV+PneMwdu6iZgVv7vbW++wEk4tSXoqEUkY+b/M2ZzHFy0M/k33migp3s0w+Ff1vNHRI0uT8Zs1D+EdI/Oz4Pu3FwPA/UK+8qe+JTRAOhdN5H7Wv4c0p1nrWJlVlT5WWCUe2uRSpojS2+D+KC1gG/DiDqK5gWgQt/7Z0HV8ml6C0PTqXWvZcYc1u49Y3tNEPOUuSXGzSZOAfhEAMdQ6+qC+126wcbSFK5ww1aOI2K6Nk3u8sxJUXHdUXs92DKvLemcaHXw0yDNUNi/izVldy3yu6VEDEflCJkj1+yvB52U+EpvG/7IGwY66QceVbu/1FFLFA=="
+ SignatureValue = "kzGIa0ZwE1Y7CYZ3hZHdFLGEQ6LvTdoKYSr+jClEdoL8l0bRf0Mkp7zsp0uCPyoZHKVBatU7otEmbciu9FWNMSXmpiDj9eSL/eNqpJ0sRkaNPyM3AqR2zy7TG2481K4SWZfo5EahrSat0glEUC6i3sxojjLb8DRq8ETYO1JsNhLOHQjKWlBEBZ04rAcz/kWXt0N1CQne4+GozQtiaMDvN/PXeqwiEYHbS1Gr5G16wHdiFZNYylH2pW14+t5t/eIZX8c/VJNT5uM09KHeBSMEn7Uksp2qx1brKP1K9SULzke0Pgx+lIJZgVndGbviGd5UP4ufovexs4F5TkhI7Pel6A=="
};
return signature;
}
@@ -1062,7 +1062,7 @@ public static Signature SignatureReferenceWithId
{
KeyInfo = KeyInfo,
SignedInfo = SignedInfoReferenceWithId,
- SignatureValue = "fqbb3WVUTLu/ihWXHUYgPWO5rgnm9AuwAT8YeiWiood/z+ObWpTwxs42be4HIDac9U94hR05rfLOR+0WxmlzhJp7/fye50VHMKex5kAAp9aCMAzCvDkfNzhMUN3WOHGEFOs4tmxrR0TBV6j+KNnjyDs3AUtdzZnZB+QmOJAlZubdOzWk/D0CGSXSgMmqYgmvH/GZGQWxQtbGMFuB29VCR7moegGN/9VAo/K7Z22xmfUWNKWVHB0OUC8FI36sadVnnUvcKnUo3M3pnQwbEWYz/+rMSYYrboM4dOKEqxZCgFXKou08Pz0MtNe2VwketLbJrKSmuEJOgVnXrzPTwlVSpw=="
+ SignatureValue = "BOMo5aCr+YIjOq+lmPj8be8/6u8iXJFXuJskeWaYk1iNadUhhUPcSHeFv8XmOBIXV7Yrvk2WiVoBKawJh79iqRrVpJmdpHTxuukUua6iijxEEhwjYGLneleVgBzDTnk2os21WThYSEXmhi52z4Or0eq29vObOlRN3c2VlqDba8avu8jMNqZuKWsptxLDS1q0JfE8zu7Srs9y2GD7SULbWYpsl2VIO3ZCV+0/YWnBHQ09Ee1QKP18HMNr3jgrmpNj165olYKnn+Vr2YDEBSuNX1mxdw2bqAbpEeWITmmIkW2KDivxOtL2lOZEC6QnEVidWr1oyFUb+srKAlmksiy3wA=="
};
return signature;
}
diff --git a/test/Microsoft.IdentityModel.TestUtils/XmlGenerator.cs b/test/Microsoft.IdentityModel.TestUtils/XmlGenerator.cs
index cb56579f1a..aefe68c6f7 100644
--- a/test/Microsoft.IdentityModel.TestUtils/XmlGenerator.cs
+++ b/test/Microsoft.IdentityModel.TestUtils/XmlGenerator.cs
@@ -354,7 +354,7 @@ public static string Generate(SignedInfo signedInfo)
public static string ReferenceTemplate
{
- get => "<{0}Reference Id=\"{1}\" Type=\"{2}\" URI=\"{3}\" xmlns:ds=\"http://www.w3.org/2000/09/xmldsig#\">{7}{0}Reference>";
+ get => "<{0}Reference Id=\"{1}\" type=\"{2}\" URI=\"{3}\" xmlns:ds=\"http://www.w3.org/2000/09/xmldsig#\">{7}{0}Reference>";
}
public static string ReferenceXml(string prefix, string id, string type, string referenceUri, string envelopingAlgorithm, string c14nAlgorithm, string digestAlgorithm, string digestValue)