certchain

package
v0.0.0-...-6e71b59 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes

func Bytes(addr string) ([]byte, error)

Bytes returns a byte slice of the complete certificate chain. The address must be in the form <fqdn>:<port>

func CertPool

func CertPool(addr string) (*x509.CertPool, error)

CertPool returns the certificate chain as a x509.CertPool. The address must be in the form <fqdn>:<port>

func Write

func Write(addr string, w io.Writer) (int, error)

Write returns writes the certificate chain to the io.Writer provided. The values returned are the number of bytes written and any error. The address must be in the form <fqdn>:<port>

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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