DSACng.LegalKeySizes Property

Definition

Gets the key sizes, in bits, that are supported by the DSA algorithm.

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

Property Value

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

Applies to

Product Versions
.NET 6, 7, 8, 9, 10
.NET Framework 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided), 2.1 (package-provided)
Windows Desktop 3.0, 3.1, 5