AesCryptoServiceProvider.LegalKeySizes Propriedade
Definição
Obtém os tamanhos de chave, em bits, que têm suporte pelo algoritmo simétrico.Gets the key sizes, in bits, that are supported by the symmetric 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()
Valor da propriedade
- KeySizes[]
Uma matriz que contém os tamanhos de chave com suporte pelo algoritmo.An array that contains the key sizes supported by the algorithm.
Comentários
Para o AES, os tamanhos de chave legal são 128, 192 e 256 bits.For AES, the legal key sizes are 128, 192, and 256 bits.