RsaSecurityKey.IsSupportedAlgorithm(String) 方法
定义
获取一个值,该值指示此类是否支持指定的算法。Gets a value that indicates whether the specified algorithm is supported by this class.
public:
override bool IsSupportedAlgorithm(System::String ^ algorithm);
public override bool IsSupportedAlgorithm (string algorithm);
override this.IsSupportedAlgorithm : string -> bool
Public Overrides Function IsSupportedAlgorithm (algorithm As String) As Boolean
参数
- algorithm
- String
加密算法。The cryptographic algorithm.
返回
如果指定的算法为 RsaV15KeyWrap、RsaOaepKeyWrap 或 RsaSha1Signature,则为 true;否则为 false。true when the specified algorithm is RsaV15KeyWrap, RsaOaepKeyWrap, or RsaSha1Signature; otherwise, false.