DEP0076: tls.parseCertString()
类型:寿命终止
【Type: End-of-Life】
tls.parseCertString() 是一个微不足道的解析辅助函数,因为错误而被公开。本应解析证书的主题和颁发者字符串,但它从未正确处理多值相对可分辨名称(RDNs)。
该文档的早期版本建议使用 querystring.parse() 作为 tls.parseCertString() 的替代方法。然而,querystring.parse() 也不能正确处理所有证书主题,因此不应使用。
【Earlier versions of this document suggested using querystring.parse() as an
alternative to tls.parseCertString(). However, querystring.parse() also does
not handle all certificate subjects correctly and should not be used.】