Szerkesztés

Megosztás a következőn keresztül:


SecurityAlgorithmSuite.IsSymmetricKeyLengthSupported(Int32) Method

Definition

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