SymmetricAlgorithm.ValidKeySize(Int32) Método

Definição

Determina se o tamanho da chave especificado é válido para o algoritmo atual.Determines whether the specified key size is valid for the current algorithm.

public:
 bool ValidKeySize(int bitLength);
public bool ValidKeySize (int bitLength);
member this.ValidKeySize : int -> bool
Public Function ValidKeySize (bitLength As Integer) As Boolean

Parâmetros

bitLength
Int32

O tamanho, em bits, para verificar se há um tamanho de chave válido.The length, in bits, to check for a valid key size.

Retornos

Boolean

true se o tamanho da chave especificado é válido para o algoritmo atual; caso contrário, false.true if the specified key size is valid for the current algorithm; otherwise, false.

Aplica-se a