certParser

package
Version: v0.0.0-...-8845dfe Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCerts

func NewCerts(addrs []string) <-chan Cert

TODO: Refactor common approach to concurency between addrParser and certParser

Types

type Cert

type Cert struct {
	Addr     addrParser.Site
	Subject  string
	Issuer   string
	SANs     []string
	Validity time.Time
}

func NewCert

func NewCert(addr string) (Cert, error)

func NewCertFromSite

func NewCertFromSite(site addrParser.Site) (Cert, error)

func (Cert) CertificateInfo

func (c Cert) CertificateInfo() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL