cert

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

cert is a lib to parse TLS cert

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindCert added in v1.1.0

func FindCert(url string) (*x509.Certificate, error)

func JsonCert added in v1.1.0

func JsonCert(cert *x509.Certificate) (string, error)

func PrintCert added in v1.1.0

func PrintCert(url, format string) (string, error)

func StringCert added in v1.1.0

func StringCert(cert *x509.Certificate) string

func StringTime added in v1.1.0

func StringTime(t time.Time) string

func YamlCert added in v1.1.0

func YamlCert(cert *x509.Certificate) (string, error)

Types

type PageCert

type PageCert struct {
	Title        string
	UrlsToCheck  string
	OutputFormat string
	Result       string
}

Jump to

Keyboard shortcuts

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