CryptoSys PKI Toolkit Manual

X509.CertThumb Method

Calculates the thumbprint (message digest hash) of an X.509 certificate

Syntax

[C#]
public static string CertThumb(
	string certFile,
	HashAlgorithm hashAlg
)
[VB.NET]
Public Shared Function CertThumb ( _
	certFile As String, _
	hashAlg As HashAlgorithm _
) As String

Parameters

certFile
Filename of certificate file (or its base64 representation)
hashAlg
Type: HashAlgorithm
HashAlgorithm

Return Value

String containing the message digest in hexadecimal format

Examples (VB.NET)

See Example1

See Also

VB6/C equivalent: X509_CertThumb

[Contents] [Index]

[HOME]   [NEXT: X509.CheckCertInCRL Method...]

Copyright © 2004-12 D.I. Management Services Pty Ltd. All rights reserved.