MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / fromnid

Method fromnid

tools/python-3.11.9-amd64/Lib/ssl.py:465–468  ·  view source on GitHub ↗

Create _ASN1Object from OpenSSL numeric ID

(cls, nid)

Source from the content-addressed store, hash-verified

463
464 @classmethod
465 def fromnid(cls, nid):
466 """Create _ASN1Object from OpenSSL numeric ID
467 """
468 return super().__new__(cls, *_nid2obj(nid))
469
470 @classmethod
471 def fromname(cls, name):

Callers

nothing calls this directly

Calls 1

__new__Method · 0.45

Tested by

no test coverage detected