Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1519,7 +1519,7 @@ private static void EncryptedXml_RecursiveKey(bool allowDangerousTransform)
}
}

[Fact]
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsReflectionEmitSupported))]
public static void EncryptedKey_InfiniteLoopXsltTransform()
{
using RSA rsa = RSA.Create(2048);
Expand Down Expand Up @@ -1585,7 +1585,7 @@ public static void EncryptedKey_InfiniteLoopXsltTransform()
Assert.Equal("The specified cryptographic transform is not supported.", ex.Message);
}

[Fact]
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsReflectionEmitSupported))]
public static void EncryptedXml_BillionLaughsXsltTransform()
{
XmlDocument doc = new();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2037,7 +2037,7 @@ public void CheckSignatureHandlesEnvelopedSignatureWithEmptyReference(bool isVal
}

#if NET
[Fact]
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsReflectionEmitSupported))]
public void SignedXml_EncryptedDataWithInfiniteXslTransform()
{
using RSA key = RSA.Create();
Expand Down
Loading