InMemorySymmetricSecurityKey.GetKeyedHashAlgorithm(String) Método

Definición

Obtiene una instancia del algoritmo hash con clave 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

Algoritmo hash con clave para obtener una instancia de .

Devoluciones

KeyedHashAlgorithm que representa el algoritmo hash con clave.

Excepciones

No se admite algorithm. Los algoritmos admitidos son HmacSha1Signature.

Se aplica a