RSACng.LegalKeySizes Property

Definition

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

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

Property Value

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

Applies to

Produkt Verzie
.NET Core 1.0, Core 1.1, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1 (package-provided)
Windows Desktop 3.0, 3.1, 5