DSACryptoServiceProvider.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 that are supported by the asymmetric algorithm.
public:
virtual property cli::array <System::Security::Cryptography::KeySizes ^> ^ LegalKeySizes { cli::array <System::Security::Cryptography::KeySizes ^> ^ get(); };
public override System.Security.Cryptography.KeySizes[] LegalKeySizes { get; }
member this.LegalKeySizes : System.Security.Cryptography.KeySizes[]
Public Overrides ReadOnly Property LegalKeySizes As KeySizes()
Property Value
KeySizes[]
Only key sizes that match an entry in this array are supported by the asymmetric algorithm.
Remarks
Only values represented in this array are valid for the property KeySize.
This algorithm supports key lengths from 512 bits to 1024 bits in increments of 64 bits.
Applies to
See also
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.