SecurityAlgorithmSuite.IsAsymmetricKeyLengthSupported(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.