Calculate the thumbprint (message digest hash) of an X.509 certificate.
Namespace: CryptoSysPKIAssembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntaxpublic static string CertThumb(
string certFile,
HashAlgorithm hashAlg
)
Public Shared Function CertThumb (
certFile As String,
hashAlg As HashAlgorithm
) As String
Parameters
- certFile String
- Filename of certificate file (or its base64 representation)
- hashAlg HashAlgorithm
- HashAlgorithm
Return Value
StringString containing the message digest in hexadecimal format
See Also