Returns the hash value for the X.509v3 certificate as an array of bytes.

Namespace: LLCryptoLib.Security.Certificates
Assembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)

Syntax

C#
public byte[] GetCertHash(
	HashType type
)
Visual Basic
Public Function GetCertHash ( _
	type As HashType _
) As Byte()
Visual C++
public:
array<unsigned char>^ GetCertHash(
	HashType type
)

Parameters

type
Type: LLCryptoLib.Security.Certificates..::..HashType
One of the HashType values.

Return Value

The hash value for the X.509 certificate.

Exceptions

ExceptionCondition
LLCryptoLib.Security.Certificates..::..CertificateExceptionAn error occurs while retrieving the hash of the certificate.

See Also