Home
last modified time | relevance | path

Searched refs:fromnid (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Lib/
Dssl.py325 def fromnid(cls, nid): member in _ASN1Object
/external/python/cpython2/Lib/test/
Dtest_ssl.py630 val = ssl._ASN1Object.fromnid(129)
633 self.assertRaises(ValueError, ssl._ASN1Object.fromnid, -1)
635 ssl._ASN1Object.fromnid(100000)
638 obj = ssl._ASN1Object.fromnid(i)
/external/python/cpython3/Lib/
Dssl.py360 def fromnid(cls, nid): member in _ASN1Object
/external/python/cpython3/Lib/test/
Dtest_ssl.py880 val = ssl._ASN1Object.fromnid(129)
883 self.assertRaises(ValueError, ssl._ASN1Object.fromnid, -1)
885 ssl._ASN1Object.fromnid(100000)
888 obj = ssl._ASN1Object.fromnid(i)