Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractClientCertificates ¶
func ExtractClientCertificates(cert []byte, certFile string, key []byte, keyFile string) (*tls.Certificate, error)
ExtractClientCertificates extracts tls.Certificates from TLSClientConfig. It returns nil in case there was no client cert and/or client key provided. In case of no certs specified, it returns nil, nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.