InMemorySymmetricSecurityKey.GetKeyedHashAlgorithm(String) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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.