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
# OpenSSL cryptographic primitives are not supported on macOS
8
+
# OpenSSL cryptographic primitives not supported on macOS
9
9
10
10
Starting in .NET 10, OpenSSL-backed cryptographic primitives are no longer supported on macOS. <xref:System.Security.Cryptography.AesCcm?displayProperty=fullName> and classes that are specific to OpenSSL, such as <xref:System.Security.Cryptography.RSAOpenSsl?displayProperty=fullName>, now throw a <xref:System.PlatformNotSupportedException> on macOS.
Copy file name to clipboardExpand all lines: docs/core/compatibility/unsupported-apis.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,11 @@
2
2
title: Unsupported APIs on .NET Core and .NET 5+
3
3
titleSuffix: ""
4
4
description: Learn which .NET APIs always throw an exception on .NET Core and .NET 5 and later versions.
5
-
ms.date: 09/08/2025
5
+
ms.date: 11/07/2025
6
6
---
7
-
# APIs that always throw exceptions on .NET Core and .NET 5+
7
+
# APIs that always throw exceptions on .NET (Core)
8
8
9
-
The following APIs will always throw an exception on .NET (Core) on all or a subset of platforms. In most cases, the exception that's thrown is <xref:System.PlatformNotSupportedException>.
9
+
The following APIs always throw an exception on .NET (Core) on all or a subset of platforms. In most cases, the exception that's thrown is <xref:System.PlatformNotSupportedException>.
10
10
11
11
This article organizes the affected APIs by namespace.
12
12
@@ -242,6 +242,7 @@ This article organizes the affected APIs by namespace.
|<xref:System.Security.Cryptography.ECDiffieHellmanCng.FromXmlString(System.String,System.Security.Cryptography.ECKeyXmlFormat)?displayProperty=nameWithType>| All |
268
270
|<xref:System.Security.Cryptography.ECDiffieHellmanCng.ToXmlString(System.Security.Cryptography.ECKeyXmlFormat)?displayProperty=nameWithType>| All |
269
271
|<xref:System.Security.Cryptography.ECDiffieHellmanCngPublicKey.FromXmlString(System.String)?displayProperty=nameWithType>| All |
270
272
|<xref:System.Security.Cryptography.ECDiffieHellmanCngPublicKey.ToXmlString?displayProperty=nameWithType>| All |
|<xref:System.Security.Cryptography.ECDiffieHellmanPublicKey.ToByteArray?displayProperty=nameWithType>| Linux and macOS |
272
275
|<xref:System.Security.Cryptography.ECDiffieHellmanPublicKey.ToXmlString?displayProperty=nameWithType>| All |
273
276
|<xref:System.Security.Cryptography.ECDsaCng.FromXmlString(System.String,System.Security.Cryptography.ECKeyXmlFormat)?displayProperty=nameWithType>| All |
274
277
|<xref:System.Security.Cryptography.ECDsaCng.ToXmlString(System.Security.Cryptography.ECKeyXmlFormat)?displayProperty=nameWithType>| All |
0 commit comments