Create _ASN1Object from OpenSSL numeric ID
(cls, nid)
| 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): |