SecurityAlgorithmSuite.IsSymmetricKeyLengthSupported(Int32) Method
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.
When overridden in a derived class, indicates whether a particular symmetric key length is supported.
public:
abstract bool IsSymmetricKeyLengthSupported(int length);
public abstract bool IsSymmetricKeyLengthSupported (int length);
abstract member IsSymmetricKeyLengthSupported : int -> bool
Public MustOverride Function IsSymmetricKeyLengthSupported (length As Integer) As Boolean
Parameters
- length
- Int32
The key length to check.
Returns
true
if the symmetric key length is supported; otherwise, false
.
Remarks
The length
is compared to a range of values depending on the subclass. For example, in the TripleDES
subclass, this method verifies that length
is between 192 and 256, inclusive.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.