GetCertHash()

X509Certificate::GetCertHash() const method

Gets hash for the current object as an array of bytes.

virtual ByteArrayPtr System::Security::Cryptography::X509Certificates::X509Certificate::GetCertHash() const

Return Value

The hash value.

X509Certificate::GetCertHash(const HashAlgorithmName&) const method

Gets hash for the current object as an array of bytes.

virtual ByteArrayPtr System::Security::Cryptography::X509Certificates::X509Certificate::GetCertHash(const HashAlgorithmName &hash_algorithm) const

Arguments

ParameterTypeDescription
hash_algorithmconst HashAlgorithmName&Hash algorithm name.

Return Value

The hash value.

See Also