Home
last modified time | relevance | path

Searched refs:_ASN1Object (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Lib/
Dssl.py451 class _ASN1Object(namedtuple("_ASN1Object", "nid shortname longname oid")): class
472 class Purpose(_ASN1Object, _Enum):
587 if not isinstance(purpose, _ASN1Object):
748 if not isinstance(purpose, _ASN1Object):
789 if not isinstance(purpose, _ASN1Object):
/third_party/python/Lib/test/
Dtest_ssl.py982 val = ssl._ASN1Object('1.3.6.1.5.5.7.3.1')
988 self.assertIsInstance(val, ssl._ASN1Object)
989 self.assertRaises(ValueError, ssl._ASN1Object, 'serverAuth')
991 val = ssl._ASN1Object.fromnid(129)
993 self.assertIsInstance(val, ssl._ASN1Object)
994 self.assertRaises(ValueError, ssl._ASN1Object.fromnid, -1)
996 ssl._ASN1Object.fromnid(100000)
999 obj = ssl._ASN1Object.fromnid(i)
1008 val = ssl._ASN1Object.fromname('TLS Web Server Authentication')
1010 self.assertIsInstance(val, ssl._ASN1Object)
[all …]
/third_party/python/patches/
Dcpython_mingw_v3.10.2.patch1631 if not isinstance(purpose, _ASN1Object):