tls

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package tls implements a tls grabbing implementation using standard package crypto/tls library.

Index

Constants

This section is empty.

Variables

View Source
var (
	AllCiphers           []uint16
	AllCiphersNames      []string
	SupportedTlsVersions []string
)

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client is a TLS grabbing client using crypto/tls

func New

func New(options *clients.Options) (*Client, error)

New creates a new grabbing client using crypto/tls

func (*Client) ConnectWithOptions added in v0.0.4

func (c *Client) ConnectWithOptions(hostname, ip, port string, options clients.ConnectOptions) (*clients.Response, error)

Connect connects to a host and grabs the response data

func (*Client) SupportedTLSCiphers added in v0.0.6

func (c *Client) SupportedTLSCiphers() ([]string, error)

SupportedTLSCiphers returns the list of standard tls library supported ciphers

func (*Client) SupportedTLSVersions added in v0.0.6

func (c *Client) SupportedTLSVersions() ([]string, error)

SupportedTLSVersions returns the list of standard tls library supported tls versions

Jump to

Keyboard shortcuts

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