Re: using capicom with python
- From: "Roger Upole" <rupole@xxxxxxxxxxx>
- Date: Mon, 17 Jul 2006 22:53:26 -0400
"stéphane bard" <stephane_bard@xxxxxxxx> wrote in message news:GhRug.185$kp.199@xxxxxxxxxxxxxxxxxxxxxx
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/python-win32/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
.
- References:
- using capicom with python
- From: stéphane bard
- using capicom with python
- Prev by Date: Re: Any pyChart experts lend a hand?
- Next by Date: Re: range() is not the best way to check range?
- Previous by thread: using capicom with python
- Next by thread: Track keyboard and mouse usage
- Index(es):
Relevant Pages
|