Condividi tramite


Certificate.GetHashValue Metodo

Definizione

Overload

GetHashValue()

Ottiene il valore hash SHA1 per il certificato.

GetHashValue(String)

Ottiene il valore hash per il certificato per un algoritmo specificato.

GetHashValue()

Ottiene il valore hash SHA1 per il certificato.

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()

Restituisce

Byte[]

byte[]

Valore hash SHA1 per il certificato.

Attributi

Vedi anche

Si applica a

GetHashValue(String)

Ottiene il valore hash per il certificato per un algoritmo specificato.

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()

Parametri

hashAlgorithmName
String

Platform::String

winrt::hstring

Algoritmo hash da usare per il valore hash del certificato. Sono supportati solo i valori "SHA1" o "SHA256". Per ottenere il valore hash SHA2 per il certificato, specificare "SHA256".

Restituisce

Byte[]

byte[]

Valore hash del certificato.

Attributi

Vedi anche

Si applica a