Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ C MFC Delphi FoxPro Java Perl PHP Python Ruby SQL Server VBScript
|
List Certificates in Local Machine Store List the certificates in the local machine certificate store.
set ccs = CreateObject("ChilkatCertificate.ChilkatCreateCS")
' Open the local machine certificate store
set certStore = ccs.OpenLocalSystemStore()
numCerts = certStore.NumCertificates
certTxt = ""
for idx = 0 to numCerts-1
set cert = certStore.GetCertificate(idx)
certTxt = certTxt + "[" + cert.SubjectE + "]" + vbCrLf
next
MsgBox certTxt
certTxt = ""
for idx = 0 to numCerts-1
set cert = certStore.GetCertificate(idx)
certTxt = certTxt + "[" + cert.SubjectDN + "]" + vbCrLf
next
MsgBox certTxt
|
Need a specific example? Send a request to support@chilkatsoft.com
© 2003-2007 Chilkat Software, Inc. All Rights Reserved.