[Python-Dev] frozenset C API? (original) (raw)
Bill Janssen janssen at parc.com
Wed Sep 5 18:26:42 CEST 2007
- Previous message: [Python-Dev] frozenset C API?
- Next message: [Python-Dev] frozenset C API?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Yup, got it. I don't see a way in the OpenSSL library functions I'm using (X509NAMEENTRYgetobject, X509NAMEENTRYgetdata) to distinguish between different RDNs, but I'll take a look at the source for X509NAMEprintex, which does seem to be able to do this.
There's a field on the X509_NAME_ENTRY struct which gives the level. OK, I can make it a tuple (list of RDNs) of tuples (one for each RDN) of tuples (one for each attribute in the RDN). And maybe add a flatten function to the ssl.py module :-).
Bill
- Previous message: [Python-Dev] frozenset C API?
- Next message: [Python-Dev] frozenset C API?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]