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. REVIEW: in case of no certs specified, return nil, nil, OR return non-nil error, OR add a boolean return value?
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.