Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListCertificates ¶
func ListCertificates(certs []*x509.Certificate, cfg *Config) error
func ListCertificatesWithMeta ¶
func ListCertificatesWithMeta(meta Meta, certs []*x509.Certificate, cfg *Config) error
Types ¶
type Config ¶
type Config struct {
// If we should only show the certificate count, rather than each one
Count bool
// What format to print certificates in, formats are defined in ../main.go and
// checked in print.go
Format string
// Outfile holds where to write the output to. Used if non-empty
Outfile string
// Which user interface to show users, e.g. cli or web
// Default (and possible) value(s) can be found in the ui package
UI string
}
Click to show internal directories.
Click to hide internal directories.