473,396 Members | 2,011 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

using capicom with python

Hi all,
Has anyone ever used Python to work with Certificate Services in
Windows? I'm trying to capicom dll with pywin32.
I've found some reference about python and capicom in
this mail archive
http://mail.python.org/pipermail/pyt...2006-March.txt

but nothing really helpfull.
I try to use windll from ctypes module

>windll.load(
but don't get access to capicom.

any idea ?

-stephane
Jul 17 '06 #1
2 3828
"stéphane bard" <st***********@tele2.frwrote in message news:Gh**************@nntpserver.swip.net...
Hi all,
Has anyone ever used Python to work with Certificate Services in
Windows? I'm trying to capicom dll with pywin32.
I've found some reference about python and capicom in
this mail archive
http://mail.python.org/pipermail/pyt...2006-March.txt

but nothing really helpfull.
I try to use windll from ctypes module

windll.load(

but don't get access to capicom.

any idea ?
COM dll's usually aren't designed to be used directly.
You request instances of the interfaces they implement
by guid or program id.

import win32com.client
certstore=win32com.client.Dispatch('capicom.store' )
certstore.Open(StoreName='Root')
for cert in certstore.Certificates:
print 'SubjectName:', cert.SubjectName, 'IssuerName:', cert.IssuerName

Roger

Jul 18 '06 #2
thank's for all roger
sorry to answer so late
:-D

Roger Upole a écrit :
"stéphane bard" <st***********@tele2.frwrote in message news:Gh**************@nntpserver.swip.net...
>Hi all,
Has anyone ever used Python to work with Certificate Services in
Windows? I'm trying to capicom dll with pywin32.
I've found some reference about python and capicom in
this mail archive
http://mail.python.org/pipermail/pyt...2006-March.txt

but nothing really helpfull.
I try to use windll from ctypes module

>>>windll.load(
but don't get access to capicom.

any idea ?

COM dll's usually aren't designed to be used directly.
You request instances of the interfaces they implement
by guid or program id.

import win32com.client
certstore=win32com.client.Dispatch('capicom.store' )
certstore.Open(StoreName='Root')
for cert in certstore.Certificates:
print 'SubjectName:', cert.SubjectName, 'IssuerName:', cert.IssuerName

Roger


Jul 20 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Alexei Pashin | last post by:
I use EnvelopedData from CAPICOM library to encrypt and decrypt security info on my ASP site. I got and installed test VerySign certificate on my server in Personal store and successfully encrypt...
0
by: Reena | last post by:
Hi, Building ASP.NET application in C#. How do I encrypt and decrypt data with CAPICOM in C#? Thanks, - Reena
1
by: Mohit | last post by:
Hi Friends I did not know where to post this question, so am posting it on ASP.Net forum (so please excue me Has any one used CapiCom.DLL. I am having problems with it, and am wondering if it...
0
by: Frederic ESNOUF \(MVP-ISA\) | last post by:
Hi, My question is about 3des, ... in fact the difference between 3DES with Capicom (VB) and VB.net With VB6/capicom, encrypting data is simple : message.Content = "This is my bank account :...
0
by: Marja Ribbers-de Vroed | last post by:
Hi, Is anyone here familiar with the capicom.dll? And more specifically with deployment of .cer and .pfx certifcate files? I have a few questions and I'm looking for a suitable place to post...
0
by: DepotDog | last post by:
Since I am a Visual Basic'r on VS2005, I have used capicom to access the user certificate stores for my desktop apps. CE does not have certificate store functionalility so I tried to use...
0
by: agent-s | last post by:
I'm trying to do a foreach loop of each Certificate in a Certificates collection. Note: This worked perfectly yesterday, and today it started throwing a bunch of exceptions. basically C# says...
0
by: Steven | last post by:
Hello, I want to get the signer(Microsoft) of a DLL or EXE file using CAPICOM in VB.NET, could anyone give me a sample? Thank you Steven
0
by: yxq | last post by:
Hello, I want to get the file signer using capicom.dll like signtool.exe, how to do? For example: The signer of file "c:\windows\system32\winlogon.exe" is Microsoft, how to get this signer using...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.