openssl

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: MIT Imports: 2 Imported by: 15

Documentation

Overview

Package openssl implements a tls grabbing implementation using openssl

Index

Constants

View Source
const Enabled = false

Enabled reports if the tool was compiled with openssl support

Variables

View Source
var ErrNotSupported = errors.New("openssl not supported")

Functions

This section is empty.

Types

type Client

type Client struct{}

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

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

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

SupportedTLSVersions is meaningless here but necessary due to the interface system implemented

func (*Client) SupportedTLSVersions

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

SupportedTLSVersions is meaningless here but necessary due to the interface system implemented

Jump to

Keyboard shortcuts

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