Returns the hash value for the X.509v3 certificate as a hexadecimal string.
Namespace: LLCryptoLib.Security.CertificatesAssembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)
Syntax
C# |
---|
public string GetCertHashString( HashType type ) |
Visual Basic |
---|
Public Function GetCertHashString ( _ type As HashType _ ) As String |
Visual C++ |
---|
public: String^ GetCertHashString( HashType type ) |
Parameters
- type
- Type: LLCryptoLib.Security.Certificates..::..HashType
One of the HashType values.
Return Value
The hexadecimal string representation of the X.509 certificate hash value.
Exceptions
Exception | Condition |
---|---|
LLCryptoLib.Security.Certificates..::..CertificateException | An error occurs while retrieving the hash of the certificate. |