SecurityAlgorithmSuite.IsAsymmetricKeyLengthSupported(Int32) 方法

定义

指示非对称算法是否支持特定的密钥长度。

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

参数

length
Int32

要检查的密钥长度。

返回

Boolean

如果非对称算法支持密钥长度,则为 true;否则为 false

注解

典型密钥长度为 128、192 和 256 位。

适用于