Author christian.heimes
Recipients christian.heimes, eric.araujo, exarkun, pitrou
Date 2013-06-07.12:56:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1370609782.54.0.243719663111.issue17134@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2013-06-07 12:56:22christian.heimessetrecipients: + christian.heimes, exarkun, pitrou, eric.araujo
2013-06-07 12:56:22christian.heimessetmessageid: <1370609782.54.0.243719663111.issue17134@psf.upfronthosting.co.za>
2013-06-07 12:56:22christian.heimeslinkissue17134 messages
2013-06-07 12:56:21christian.heimescreate