Skip to content

Algorithm 'AesGcm' is not supported on this platform but platform is supported #92482

@quintushr

Description

@quintushr

Description

When I use the constructor of the AesGcm class on macOS Monterey, an exception is thrown with the message 'Algorithm 'AesGcm' is not supported on this platform.' I checked the documentation, and it only mentions that browser, iOS, and tvOS are not supported.

Reproduction Steps

Run this code on Macos :

public static void Main()
{
  var aesGcm = new AesGcm(key);
}

Expected behavior

no exception

Actual behavior

Exception :
PlatformNotSupportedException: Algorithm 'AesGcm' is not supported on this platform.

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.SecurityquestionAnswer questions and provide assistance, not an issue with source code or documentation.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions