CryptoSys PKI Toolkit Manual

Example: X509.CertThumb 

[VB6 equivalent: X509_CertThumb]

Dim strCertName As String
Dim strHexHash As String

strCertName = "AliceRSASignByCarl.cer"
strHexHash = X509.CertThumb(strCertName, HashAlgorithm.Sha1)
Console.WriteLine("X509_CertThumb returns " & strHexHash.Length & " for " & strCertName)
Console.WriteLine(strHexHash)

See Also:
X509.CertThumb Method

[Contents] [Index]

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

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