GetCertHashString()

X509Certificate::GetCertHashString() const method

Gets SHA1 hash for the current object as a hexadecimal string.

virtual String System::Security::Cryptography::X509Certificates::X509Certificate::GetCertHashString() const

Return Value

The hexadecimal string.

X509Certificate::GetCertHashString(const HashAlgorithmName&) const method

Gets SHA1 hash for the current object as a hexadecimal string.

virtual String System::Security::Cryptography::X509Certificates::X509Certificate::GetCertHashString(const HashAlgorithmName &hash_algorithm) const

Arguments

ParameterTypeDescription
hash_algorithmconst HashAlgorithmName&Hash algorithm name.

Return Value

The hexadecimal string.

See Also