Microsoft Icertadmin2 Interface From Python Ctypes
I'm trying to use the Microsofts ICertAdmin2 interface from Python using ctypes. http://msdn.microsoft.com/en-us/library/windows/desktop/aa383234(v=vs.85).aspx So far I can load th
Solution 1:
The last parameter of GetIssuedCertificate
is a pointer to a LONG. Use byref()
to pass it.
Also you should pass a BSTR as first and third arg.
out = request.GetIssuedCertificate( 'ca1\\simpleca' ), 1, None )
Post a Comment for "Microsoft Icertadmin2 Interface From Python Ctypes"