tls

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2022 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Probe

func Probe(version, network, ip, port string, timeout time.Duration, servername string) (bool, error)

Types

type TLS

type TLS struct {
	Supported     bool
	Certificates  []x509.Certificate
	DefaultCipher ciphersuite.CipherSuite
	Ciphers       []ciphersuite.CipherSuite
}

func Handshake

func Handshake(version, network, ip, port string, timeout time.Duration, servername string) (TLS, error)

func Scan

func Scan(version, network, ip, port string, timeout time.Duration, servername string) (TLS, error)

Directories

Path Synopsis
cmd
cmd
cmd
cmd
cmd

Jump to

Keyboard shortcuts

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