tlsSocket.authorized


如果对等证书由创建 tls.TLSSocket 实例时指定的 CA 之一签名,则返回 true,否则返回 false

Returns true if the peer certificate was signed by one of the CAs specified when creating the tls.TLSSocket instance, otherwise false.