Basic256SecurityAlgorithmSuite.IsAsymmetricKeyLengthSupported Method (Int32)

.NET Framework (current version)
 

Returns true if the specified asymmetric key length is supported; otherwise, returns false. Valid lengths range from 1024 to 4096.

Namespace:   System.ServiceModel.Security
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public override bool IsAsymmetricKeyLengthSupported(
	int length
)

Parameters

length
Type: System.Int32

The asymmetric key length.

Return Value

Type: System.Boolean

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

.NET Framework
Available since 4.0
Return to top
Show: