tlsSocket.getPeerX509Certificate()
- Returns: <X509Certificate>
Returns the peer certificate as an <X509Certificate> object.
If there is no peer certificate, or the socket has been destroyed,
undefined
will be returned.
Returns the peer certificate as an <X509Certificate> object.
If there is no peer certificate, or the socket has been destroyed,
undefined
will be returned.