"" when the certificate is for host, else why not.
- stream: the finished TLS handshake, whose peer certificate is checked.
- host: the host name or address the client connected to.
verify_server_name :: (stream: *Tls.Tls_Stream, host: string) -> string
"" when the certificate is for host, else why not.
Parameters
- stream: *Tls.Tls_Stream
- the finished TLS handshake, whose peer certificate is checked.
- host: string
- the host name or address the client connected to.
Returns
- string