By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,766 Members | 1,393 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,766 IT Pros & Developers. It's quick & easy.

using capicom with python

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
"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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.