Discover Packages
github.com/xmlking/toolkit
util
tls
package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Jul 6, 2020
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 3
Opens a new window with list of known importers.
Documentation
Documentation
¶
NewTLSClientConfig returns a TLS config for a client connection
If caPath is empty, system CAs will be used
NewTLSConfig returns a TLS config that includes a certificate
Use for Server TLS config or when using a client certificate
If caPath is empty, system CAs will be used
Source Files
¶
Click to show internal directories.
Click to hide internal directories.