Modifier

Partager via


SecurityAlgorithmSuite.IsAsymmetricKeyLengthSupported(Int32) Method

Definition

Indicates whether a particular key length is supported by the asymmetric algorithm.

public:
 abstract bool IsAsymmetricKeyLengthSupported(int length);
public abstract bool IsAsymmetricKeyLengthSupported (int length);
abstract member IsAsymmetricKeyLengthSupported : int -> bool
Public MustOverride Function IsAsymmetricKeyLengthSupported (length As Integer) As Boolean

Parameters

length
Int32

The key length to check.

Returns

true if the key length is supported by the asymmetric algorithm; otherwise, false.

Remarks

Typical key lengths are 128, 192, and 256 bits.

Applies to