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