Share via


InMemorySymmetricSecurityKey.GetKeyedHashAlgorithm(String) Método

Definición

Obtiene una nueva 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

El algoritmo hash con clave del que obtener una instancia.

Devoluciones

KeyedHashAlgorithm que representa el algoritmo hash con clave.

Excepciones

No se admite algorithm. El algoritmo admitido es HmacSha1Signature.

Se aplica a