A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-September/074429.html below:

[Python-Dev] frozenset C API?

[Python-Dev] frozenset C API?Bill Janssen janssen at parc.com
Wed Sep 5 04:58:11 CEST 2007
> In any case, it certainly sounds to me as if there can be multiple
> instances of AttributeTypeAndValue with the same "type" field in a
> single Name.  So I'll represent them as tuples, which will preserve
> the order in which they occur in the certificate, and make the value
> immutable.  Applications which need them as sets can create their
> own frozensets from that tuple.

Here's an example of the new format:

  {'issuer': (('countryName', u'US'),
              ('organizationName', u'VeriSign, Inc.'),
              ('organizationalUnitName', u'VeriSign Trust Network'),
              ('organizationalUnitName',
               u'Terms of use at https://www.verisign.com/rpa (c)06'),
              ('commonName',
               u'VeriSign Class 3 Extended Validation SSL SGC CA')),
   'notAfter': 'May  8 23:59:59 2009 GMT',
   'notBefore': 'May  9 00:00:00 2007 GMT',
   'subject': (('serialNumber', u'2497886'),
               ('1.3.6.1.4.1.311.60.2.1.3', u'US'),
               ('1.3.6.1.4.1.311.60.2.1.2', u'Delaware'),
               ('countryName', u'US'),
               ('postalCode', u'94043'),
               ('stateOrProvinceName', u'California'),
               ('localityName', u'Mountain View'),
               ('streetAddress', u'487 East Middlefield Road'),
               ('organizationName', u'VeriSign, Inc.'),
               ('organizationalUnitName', u'Production Security Services'),
               ('organizationalUnitName',
                u'Terms of use at www.verisign.com/rpa (c)06'),
               ('commonName', u'www.verisign.com')),
   'version': 2}

Bill
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4