Linker IT Software
Google
Web www.oraxcel.com
menubar-top-links menubar-top-rechts
Home Help Search Login
Welcome, Guest. Please Login.
SQL*XL: Database to Excel bridge litLIB: Excel power functions pack ExcelLock: Locking and securing your valuable Excel spreadsheets encOffice: Protect your Excel file easy and safe encOffice: Protect your Excel file easy and safe
Pages: 1
CAPICOM: COM interface to Microsoft CryptoAPI (Read 2827 times)
Gerrit-Jan Linker
YaBB Administrator
*****




Posts: 75
CAPICOM: COM interface to Microsoft CryptoAPI
06.04.10 at 11:21:33
 
CAPICOM: COM interface to Microsoft CryptoAPI
 
CAPICOM is a Microsoft® ActiveX® control that provides a COM interface to Microsoft CryptoAPI. It exposes a select set of CryptoAPI functions to enable application developers to easily incorporate digital signing and encryption functionality into their applications.
 
Samples:
 
Open store
Dim myStore As New Store
myStore.Open CAPICOM_CURRENT_USER_STORE, CAPICOM_MY_STORE, CAPICOM_STORE_OPEN_READ_ONLY
 
Loop over the certificates in a store
Dim cert As Certificate
For i = 1 To myStore.Certificates.Count
  Set cert = myStore.Certificates(i)
  'Issuer
  MsgBox cert.GetInfo(CAPICOM_CERT_INFO_ISSUER_SIMPLE_NAME))
  'Subject
  MsgBox cert.GetInfo(CAPICOM_CERT_INFO_SUBJECT_SIMPLE_NAME)
Next i
 
Source:
Introducing CAPICOM
http://msdn.microsoft.com/en-us/library/ms995332.aspx
 
See also:
CAPICOM - Wikipedia
http://en.wikipedia.org/wiki/CAPICOM
Platform SDK Redistributable: CAPICOM
http://www.microsoft.com/downloads/details.aspx?FamilyID=860EE43A-A843-462F-ABB5 -FF88EA5896F6&displaylang=en
CAPICOM Reference
http://msdn.microsoft.com/en-us/library/aa375732%28VS.85%29.aspx
Back to top
 
« Last Edit: 06.04.10 at 14:01:27 by Gerrit-Jan Linker »  

Gerrit-Jan Linker
Linker IT Software
Email WWW Gerrit-Jan Linker   IP Logged
Pages: 1