Certificate.GetHashValue メソッド

定義

オーバーロード

GetHashValue()

証明書の SHA1 ハッシュ値を取得します。

GetHashValue(String)

指定したアルゴリズムの証明書のハッシュ値を取得します。

GetHashValue()

証明書の SHA1 ハッシュ値を取得します。

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

戻り値

Byte[]

byte[]

証明書の SHA1 ハッシュ値。

属性

こちらもご覧ください

適用対象

GetHashValue(String)

指定したアルゴリズムの証明書のハッシュ値を取得します。

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

パラメーター

hashAlgorithmName
String

Platform::String

winrt::hstring

証明書のハッシュ値に使用するハッシュ アルゴリズム。 "SHA1" または "SHA256" の値のみがサポートされています。 証明書の SHA2 ハッシュ値を取得するには、"SHA256" を指定します。

戻り値

Byte[]

byte[]

証明書のハッシュ値。

属性

こちらもご覧ください

適用対象