Documentation ¶
Index ¶
Constants ¶
View Source
const ( OCSP verification = iota + 1 CRL )
Variables ¶
View Source
var ErrInvalidCertVerification = errors.New("invalid certificate verification method")
ErrInvalidCertVerification represents an error during the cert verification method loading. Supported are OCSP and CRL verification methods.
Functions ¶
func ClientCert ¶
func ClientCert(conn net.Conn) (x509.Certificate, error)
ClientCert returns client certificate.
func SecurityStatus ¶
SecurityStatus returns log message from TLS config.
Types ¶
Click to show internal directories.
Click to hide internal directories.