Documentation ¶
Index ¶
- func CertReqFunc(certfile, keyfile string) func(*tls.ClientHelloInfo) (*tls.Certificate, error)
- func CertificateChains(rawCerts [][]byte, chains [][]*x509.Certificate) error
- func CertificateInfo(cert *x509.Certificate) string
- func ClientCertReqFunc(certfile, keyfile string) func(*tls.CertificateRequestInfo) (*tls.Certificate, error)
- func OutputPEMFile(filename string) error
- func Wait()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CertReqFunc ¶
func CertReqFunc(certfile, keyfile string) func(*tls.ClientHelloInfo) (*tls.Certificate, error)
CertReqFunc returns a function for tlsConfig.GetCertificate
func CertificateChains ¶
func CertificateChains(rawCerts [][]byte, chains [][]*x509.Certificate) error
CertificateChains prints information about verified certificate chains
func CertificateInfo ¶
func CertificateInfo(cert *x509.Certificate) string
CertificateInfo returns a string describing the certificate
func ClientCertReqFunc ¶
func ClientCertReqFunc(certfile, keyfile string) func(*tls.CertificateRequestInfo) (*tls.Certificate, error)
ClientCertReqFunc returns a function for tlsConfig.GetClientCertificate
func OutputPEMFile ¶
OutputPEMFile reads info from a PEM file and displays it
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.