Compartir a través de


Certificate.GetHashValue Método

Definición

Sobrecargas

GetHashValue()

Obtiene el valor hash SHA1 para el certificado.

GetHashValue(String)

Obtiene el valor hash del certificado para un algoritmo especificado.

GetHashValue()

Obtiene el valor hash SHA1 para el certificado.

public:
 virtual Platform::Array <byte> ^ GetHashValue() = GetHashValue;
/// [Windows.Foundation.Metadata.Overload("GetHashValue")]
winrt::array_view <byte> GetHashValue();
[Windows.Foundation.Metadata.Overload("GetHashValue")]
public byte[] GetHashValue();
function getHashValue()
Public Function GetHashValue () As Byte()

Devoluciones

Byte[]

byte[]

Valor hash SHA1 para el certificado.

Atributos

Consulte también

Se aplica a

GetHashValue(String)

Obtiene el valor hash del certificado para un algoritmo especificado.

public:
 virtual Platform::Array <byte> ^ GetHashValue(Platform::String ^ hashAlgorithmName) = GetHashValue;
/// [Windows.Foundation.Metadata.Overload("GetHashValueWithAlgorithm")]
winrt::array_view <byte> GetHashValue(winrt::hstring const& hashAlgorithmName);
[Windows.Foundation.Metadata.Overload("GetHashValueWithAlgorithm")]
public byte[] GetHashValue(string hashAlgorithmName);
function getHashValue(hashAlgorithmName)
Public Function GetHashValue (hashAlgorithmName As String) As Byte()

Parámetros

hashAlgorithmName
String

Platform::String

winrt::hstring

Algoritmo hash que se va a usar para el valor hash del certificado. Solo se admiten valores de "SHA1" o "SHA256". Para obtener el valor hash SHA2 del certificado, especifique "SHA256".

Devoluciones

Byte[]

byte[]

Valor hash del certificado.

Atributos

Consulte también

Se aplica a