[Python-Dev] frozenset C API? (original) (raw)

Bill Janssen janssen at parc.com
Wed Sep 5 18:12:34 CEST 2007


See the example certificates. If you get (('cn','a'),('email','b')), you can't tell whether that's two single-valued RDNs in a DN, or one multi-valued RDN with two attribute/value pairs.

Yup, got it. I don't see a way in the OpenSSL library functions I'm using (X509_NAME_ENTRY_get_object, X509_NAME_ENTRY_get_data) to distinguish between different RDNs, but I'll take a look at the source for X509_NAME_print_ex, which does seem to be able to do this.

Bill



More information about the Python-Dev mailing list