ssl_util

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TimeoutSeconds = 10

Functions

func CertExpiry

func CertExpiry(host, port, days string, overrideTLS bool) (bool, bool, error)

CertExpiry returns bool values indicating if the cert on a given host and port are currently exiring or if the expiration is the specified number of days away, and any errors

func CertHandshake

func CertHandshake(host, port string, selfSigned bool) error

SSLHandshake imports a certificate pool, a

Types

This section is empty.

Jump to

Keyboard shortcuts

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