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

Method fromname

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

Create _ASN1Object from short name, long name or OID

(cls, name)

Source from the content-addressed store, hash-verified

469
470 @classmethod
471 def fromname(cls, name):
472 """Create _ASN1Object from short name, long name or OID
473 """
474 return super().__new__(cls, *_txt2obj(name, name=True))
475
476
477class Purpose(_ASN1Object, _Enum):

Callers

nothing calls this directly

Calls 1

__new__Method · 0.45

Tested by

no test coverage detected