Returns the hash value for the X.509v3 certificate as an array of bytes.
Namespace: LLCryptoLib.Security.CertificatesAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
| C# |
|---|
public byte[] GetCertHash() |
| Visual Basic |
|---|
Public Function GetCertHash As Byte() |
| Visual C++ |
|---|
public: array<unsigned char>^ GetCertHash() |
Return Value
The hash value for the X.509 certificate.
Exceptions
| Exception | Condition |
|---|---|
| LLCryptoLib.Security.Certificates..::..CertificateException | An error occurs while retrieving the hash of the certificate. |