Christian Heimes added the comment: The objects already have a (more or less) nice representation:
>>> ssl._ASN1Object.fromname("1.3.6.1.5.5.7.3.1") _ASN1Object(nid=129, shortname='serverAuth', longname='TLS Web Server Authentication', oid='1.3.6.1.5.5.7.3.1') >>> ssl._ASN1Object.fromname("1.3.6.1.5.5.7.3.2") _ASN1Object(nid=130, shortname='clientAuth', longname='TLS Web Client Authentication', oid='1.3.6.1.5.5.7.3.2') >>> ssl._ASN1Object.fromname("1.3.6.1.5.5.7.3.8") _ASN1Object(nid=133, shortname='timeStamping', longname='Time Stamping', oid='1.3.6.1.5.5.7.3.8') ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19689> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com