RSACng.LegalKeySizes Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets the key sizes, in bits, that are supported by this implementation of RSA.

public override System.Security.Cryptography.KeySizes[] LegalKeySizes { get; }

Property Value

An array that contains the key sizes supported by the algorithm.

Applies to

Product Versies
.NET Core 1.0, Core 1.1, 6, 7, 8, 9
.NET Framework 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided), 2.1 (package-provided)
Windows Desktop 3.0, 3.1, 5