Basic128SecurityAlgorithmSuite.IsSymmetricKeyLengthSupported(Int32) 方法
定义
如果支持指定的对称密钥长度,则返回 true;否则返回 false。Returns true if the specified symmetric key length is supported; otherwise, returns false. 有效长度范围为 128 到 256。Valid lengths range from 128 to 256.
public:
override bool IsSymmetricKeyLengthSupported(int length);
public override bool IsSymmetricKeyLengthSupported (int length);
override this.IsSymmetricKeyLengthSupported : int -> bool
Public Overrides Function IsSymmetricKeyLengthSupported (length As Integer) As Boolean
参数
- length
- Int32
对称密钥长度。The symmetric key length.
返回
如果支持指定的对称密钥长度,则为 true;否则为 false。true if the specified symmetric key length is supported; otherwise, false.