<% '****************************************************************************** ' ' THIS CODE AND INformATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, ' EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED ' WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. ' ' Copyright (C) 1999- 2002. Microsoft Corporation. All rights reserved. ' '****************************************************************************** ' ' Certificates.htm ' ' This is a JScript sample that illustrates how to use features in ' CAPICOM to find and display certificates in your certificate stores. ' ' Note: For simplicity, this script does not handle all exceptions. ' '****************************************************************************** %>

Welcome to the CAPICOM Certificates Sample

This sample shows you how to utilize several CAPICOM features, including:

  • CAPICOM.Store
  • CAPICOM.Certificates
  • CAPICOM.Certificate

This sample will open the stores of the current user and search each of them for a certificate with a specific thumbprint, as it finishes with each store it will display all occurrences it has identified.

This sample was written in JavaScript and its source can be found here.

Thumbprint: