InMemorySymmetricSecurityKey.GetKeyedHashAlgorithm(String) Método

Definição

Obtém uma instância do algoritmo de hash chave especificado.

public:
 override System::Security::Cryptography::KeyedHashAlgorithm ^ GetKeyedHashAlgorithm(System::String ^ algorithm);
public override System.Security.Cryptography.KeyedHashAlgorithm GetKeyedHashAlgorithm(string algorithm);
override this.GetKeyedHashAlgorithm : string -> System.Security.Cryptography.KeyedHashAlgorithm
Public Overrides Function GetKeyedHashAlgorithm (algorithm As String) As KeyedHashAlgorithm

Parâmetros

algorithm
String

O algoritmo de hash chave do qual obter uma instância.

Retornos

Um KeyedHashAlgorithm que representa o algoritmo de hash chave.

Exceções

Não há suporte para algorithm. Os algoritmos com suporte são HmacSha1Signature.

Aplica-se a