summaryrefslogtreecommitdiffstats
path: root/Doc/library/ssl.rst
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2009-09-13 08:13:21 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2009-09-13 08:13:21 (GMT)
commit713e042152c3e554157293180f1407aea7446ae9 (patch)
tree39d8fe21e6d60787c61dfc28c85394d0a6428e58 /Doc/library/ssl.rst
parentf388053649111e08ac213c0073cc60f02790351a (diff)
downloadcpython-713e042152c3e554157293180f1407aea7446ae9.zip
cpython-713e042152c3e554157293180f1407aea7446ae9.tar.gz
cpython-713e042152c3e554157293180f1407aea7446ae9.tar.bz2
Merged revisions 74764 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r74764 | ezio.melotti | 2009-09-13 10:54:02 +0300 (Sun, 13 Sep 2009) | 1 line fixed more examples that were using u"", print without () and unicode/str instead of str/bytes ........
Diffstat (limited to 'Doc/library/ssl.rst')
-rw-r--r--Doc/library/ssl.rst36
1 files changed, 18 insertions, 18 deletions
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index 928a262..1f30a61 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -311,12 +311,12 @@ SSLSocket Objects
name-value pairs::
{'notAfter': 'Feb 16 16:54:50 2013 GMT',
- 'subject': ((('countryName', u'US'),),
- (('stateOrProvinceName', u'Delaware'),),
- (('localityName', u'Wilmington'),),
- (('organizationName', u'Python Software Foundation'),),
- (('organizationalUnitName', u'SSL'),),
- (('commonName', u'somemachine.python.org'),))}
+ 'subject': ((('countryName', 'US'),),
+ (('stateOrProvinceName', 'Delaware'),),
+ (('localityName', 'Wilmington'),),
+ (('organizationName', 'Python Software Foundation'),),
+ (('organizationalUnitName', 'SSL'),),
+ (('commonName', 'somemachine.python.org'),))}
If the ``binary_form`` parameter is :const:`True`, and a
certificate was provided, this method returns the DER-encoded form
@@ -522,20 +522,20 @@ As of September 6, 2007, the certificate printed by this program
looked like this::
{'notAfter': 'May 8 23:59:59 2009 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.'),),
+ 'subject': ((('serialNumber', '2497886'),),
+ (('1.3.6.1.4.1.311.60.2.1.3', 'US'),),
+ (('1.3.6.1.4.1.311.60.2.1.2', 'Delaware'),),
+ (('countryName', 'US'),),
+ (('postalCode', '94043'),),
+ (('stateOrProvinceName', 'California'),),
+ (('localityName', 'Mountain View'),),
+ (('streetAddress', '487 East Middlefield Road'),),
+ (('organizationName', 'VeriSign, Inc.'),),
(('organizationalUnitName',
- u'Production Security Services'),),
+ 'Production Security Services'),),
(('organizationalUnitName',
- u'Terms of use at www.verisign.com/rpa (c)06'),),
- (('commonName', u'www.verisign.com'),))}
+ 'Terms of use at www.verisign.com/rpa (c)06'),),
+ (('commonName', 'www.verisign.com'),))}
which is a fairly poorly-formed ``subject`` field.