Documentation ¶
Overview ¶
package tlsinfo reports tls connection parameter
Index ¶
- Variables
- func PinHost(host string) string
- func PinHostWithTLS(host string, tlsconfig *tls.Config) string
- func PinVerifyConn(keyPin string, conn *tls.Conn) bool
- func PinVerifyHost(keyPin, host string) bool
- func PinVerifyHostWithTLS(keyPin, host string, tlsconfig *tls.Config) bool
- func PinVerifyState(keyPin string, state *tls.ConnectionState) bool
- func ReportConn(conn *tls.Conn, e *reportstyle.Style) string
- func ReportConnHTML(conn *tls.Conn) string
- func ReportConnText(conn *tls.Conn) string
- func ReportHost(host string, t *tls.Config, e *reportstyle.Style) string
- func ReportHostHTML(host string) string
- func ReportHostText(host string) string
- func ReportHttpRequest(q *http.Request, e *reportstyle.Style) string
- func ReportHttpRequestHTML(q *http.Request) string
- func ReportHttpRequestText(q *http.Request) string
- func ReportOcsp(conn *tls.Conn, issuerCert *x509.Certificate) string
- func ReportTlsState(state *tls.ConnectionState, e *reportstyle.Style) string
- func ReportTlsStateHTML(state *tls.ConnectionState) string
- func ReportTlsStateText(state *tls.ConnectionState) string
Constants ¶
This section is empty.
Variables ¶
View Source
var ExtCheckURLs = []string{
"https://www.ssllabs.com/ssltest/analyze.html?d=",
"https://cryptcheck.fr/https/",
"https://observatory.mozilla.org/analyze/",
}
ExtCheckURLs for direct usage, just add a domainname to url
Functions ¶
func PinHostWithTLS ¶
PinHostWithTLS ...
func PinVerifyHostWithTLS ¶
PinVerifyHostWithTLS ...
func PinVerifyState ¶
func PinVerifyState(keyPin string, state *tls.ConnectionState) bool
PinVerifyState ...
func ReportHost ¶
ReportHost ...
func ReportHttpRequest ¶
func ReportHttpRequest(q *http.Request, e *reportstyle.Style) string
ReportHttpRequest ...
func ReportHttpRequestHTML ¶
ReportHttpRequestHTML ...
func ReportHttpRequestText ¶
ReportHttpRequestText ...
func ReportOcsp ¶
func ReportOcsp(conn *tls.Conn, issuerCert *x509.Certificate) string
ReportOcsp ...
func ReportTlsState ¶
func ReportTlsState(state *tls.ConnectionState, e *reportstyle.Style) string
ReportTlsState ...
func ReportTlsStateHTML ¶
func ReportTlsStateHTML(state *tls.ConnectionState) string
ReportTlsStateHTML ...
func ReportTlsStateText ¶
func ReportTlsStateText(state *tls.ConnectionState) string
ReportTlsStateText ...
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.