Sdílet prostřednictvím


OpenIdConnectProtocolValidator.GetHashAlgorithm(String) Method

Definition

Returns a HashAlgorithm corresponding to string 'algorithm' after translation using HashAlgorithmMap.

public virtual System.Security.Cryptography.HashAlgorithm GetHashAlgorithm (string algorithm);
abstract member GetHashAlgorithm : string -> System.Security.Cryptography.HashAlgorithm
override this.GetHashAlgorithm : string -> System.Security.Cryptography.HashAlgorithm
Public Overridable Function GetHashAlgorithm (algorithm As String) As HashAlgorithm

Parameters

algorithm
String

string representing the hash algorithm

Returns

A HashAlgorithm.

Applies to