Share via


SymmetricSecurityKey.GetKeyedHashAlgorithm(String) Método

Definición

Cuando se invalida en una clase derivada, obtiene una instancia del algoritmo hash en clave especificado.

public:
 abstract System::Security::Cryptography::KeyedHashAlgorithm ^ GetKeyedHashAlgorithm(System::String ^ algorithm);
public abstract System.Security.Cryptography.KeyedHashAlgorithm GetKeyedHashAlgorithm (string algorithm);
abstract member GetKeyedHashAlgorithm : string -> System.Security.Cryptography.KeyedHashAlgorithm
Public MustOverride Function GetKeyedHashAlgorithm (algorithm As String) As KeyedHashAlgorithm

Parámetros

algorithm
String

El algoritmo hash con clave del que obtener una instancia.

Devoluciones

KeyedHashAlgorithm que representa el algoritmo hash con clave.

Comentarios

Utilice los campos que representan los algoritmos hash con clave de la clase SecurityAlgorithms para especificar el algoritmo.

Se aplica a