示例#1
0
 def fromnid(cls, nid):
     """Create _ASN1Object from OpenSSL numeric ID
     """
     return super().__new__(cls, *_nid2obj(nid))
示例#2
0
文件: ssl.py 项目: Logotrop/trida
 def fromnid(cls, nid):
     """Create _ASN1Object from OpenSSL numeric ID
     """
     return super().__new__(cls, *_nid2obj(nid))