TripleDesSecurityAlgorithmSuite.IsSymmetricKeyLengthSupported(Int32) 方法

定义

如果支持指定的对称密钥长度,则返回 true;否则返回 falseReturns true if the specified symmetric key length is supported; otherwise, returns false. 有效长度范围为 192 到 256。Valid lengths range from 192 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.

返回

Boolean

如果支持指定的对称密钥长度,则为 true;否则为 falsetrue if the specified symmetric key length is supported; otherwise, false.

适用于