MCPcopy Index your code
hub / github.com/python/cpython / fromnid

Method fromnid

Lib/ssl.py:403–406  ·  view source on GitHub ↗

Create _ASN1Object from OpenSSL numeric ID

(cls, nid)

Source from the content-addressed store, hash-verified

401
402 @classmethod
403 def fromnid(cls, nid):
404 """Create _ASN1Object from OpenSSL numeric ID
405 """
406 return super().__new__(cls, *_nid2obj(nid))
407
408 @classmethod
409 def fromname(cls, name):

Callers 1

test_asn1objectMethod · 0.80

Calls 2

superClass · 0.85
__new__Method · 0.45

Tested by 1

test_asn1objectMethod · 0.64