Chilkat
HOME
Android™
ASP
Visual Basic
VB.NET
C#
iOS (IPhone)
Objective-C
C++
C
MFC
Delphi
FoxPro
Java
Perl
PHP Extension
PHP ActiveX
Python
PowerShell
Ruby
SQL Server
VBScript
Export Digital Certificate to .cer File
This example code demonstrates how to find a certificate based on an email address and save it to a .cer file. ' Find a certificate from the current-user certificate store and
' save it to a .cer file.
Dim ccs As New Chilkat.CreateCS()
Dim certStore As Chilkat.CertStore
Dim cert As Chilkat.Cert
certStore = ccs.OpenCurrentUserStore()
cert = certStore.FindCertBySubjectE("admin@tagtooga.com")
cert.SaveToFile("tagtooga.cer")
MessageBox.Show("Finished!")
|
© 2000-2012 Chilkat Software, Inc. All Rights Reserved.