getsni

package module
v0.0.0-...-efe2dbf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2019 License: BSD-3-Clause Imports: 2 Imported by: 0

README

getsni

A single-purpose library for reading the TLS Server Name Indication.

Build Status

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSNI

func GetSNI(clienthello []byte) (string, error)

GetSNI accepts the beginning of a TLS connection and returns the indicated server name, or an error if the server name was not found. Derived from unmarshal() in crypto/tls.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL