remote

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Test

func Test(host string, port int, protocol string) error

Types

type Cert

type Cert struct {
	IssuerName   pkix.Name `json:"issuer-name"`
	Expiry       string    `json:"expiry"`
	CommonName   string    `json:"common-name"`
	DNSNames     []string  `json:"dns-names"`
	EmailAddrs   []string  `json:"email-addrs"`
	IPs          []net.IP  `json:"ips"`
	IssuingCerts []string  `json:"issuing-certs"`
}

func GetRemoteCert

func GetRemoteCert(addr string, protocol string) []Cert

Jump to

Keyboard shortcuts

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