VBScript Examples

ChilkatHOMEAndroid™ASPVisual BasicVB.NETC#iOS (IPhone)Objective-CC++CMFCDelphiFoxProJavaPerl
PHP ExtensionPHP ActiveXPythonPowerShellRubySQL ServerVBScript

VBScript Examples

Bounced Mail
Bz2
Character Encoding
Digital Certificates
CSV
Digital Signatures
Email
FTP
HTML Conversion
HTTP
IMAP
Encryption
MHT / HTML Email
POP3
PFX
RSA
S/MIME
SFTP
SMTP
Socket
Spider
SSH
SSH Key
SSH Tunnel
String
Tar
Upload
XML
XMP
Zip Compression
Self-Extractor

More Examples...
Amazon S3
Email Object
DKIM / DomainKey
NTLM
FileAccess
Byte Array
RSS
Atom
Service
PPMD
Deflate
DH Key Exchange
DSA
Bzip2
LZW

 

 

 

 

 

 

 

Public Key Encrypt File with Digital Certificate

Download Chilkat Crypt ActiveX

VBScript to public-key encrypt a file using a digital certificate.

set crypt = CreateObject("Chilkat.Crypt2")
crypt.UnlockComponent "30-day trial"

crypt.CryptAlgorithm = "PKI"

' We need a certificate for signing.
set cert = CreateObject("Chilkat.Cert")
cert.LoadFromFile("chilkat.cer")
crypt.SetEncryptCert cert

crypt.CkEncryptFile "test.txt","test.enc"

crypt.SaveLastError "errors.txt"

 

© 2000-2010 Chilkat Software, Inc. All Rights Reserved.

Mail Component · XML Parser