Christian Heimes added the comment:

Yes, I'm planing to expose the low level API. I prefer to do as much work in 
Python space as possible. The information is just too useful to 3rd parties, 
too.

I'm thinking about one low level function that interfaces Windows's cert store. 
The rest can be build on top of this function and #18138.


enum_system_store(store_name, cert_type="certificate") -> [(cert_data, 
encoding_type), ...]

store_name:
  name of the store (e.g. "CA", "MY", "ROOT"), see 
http://msdn.microsoft.com/en-us/library/windows/desktop/aa376560%28v=vs.85%29.aspx
cert_type:
  "certificate" or "crl"
data:
  certificate bytes (as far as I know the certs are stored in DER format)
encoding_type:
  integer encoding X509_ASN_ENCODING or PKCS_7_ASN_ENCODING

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17134>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to