ASP Examples

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

ASP Examples

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

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

 

 

 

 

 

 

Validate a Certificate's Signature

ASP script to determine if a certificate has a valid signature.

<html>
<head>
<title>Validate Certificate Signature</title>
</head>
<body>
<%
' Get an object to create a certificate store object
set ccs = Server.CreateObject("Chilkat.CreateCS")

' Open the local machine certificate store.
set certStore = ccs.OpenLocalSystemStore()

' Iterate over the certificates
for i = 0 to certStore.NumCertificates - 1

	set cert = certStore.GetCertificate(i)
	
	' Show the name of the certificate and whether it has a valid signature.
	Response.write cert.SubjectCN & ": "
	if cert.SignatureVerified = 1 then
		Response.Write "Certificate Signature is Valid"
	else
		Response.Write "Certificate Signature is NOT Valid"
	end if
	Response.Write "<br><br>"
	
next


%>
</body>
</html>
 

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