package
Version:
v1.0.7
Opens a new window with list of versions in this module.
Published: Feb 16, 2022
License: BSD-3-Clause
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func NewClientTlsConfig(ca, cert, key string, ciphers string) (tlsConfig *tls.Config, err error)
-
func NewServerTlsConfig(ca, cert, key string, verifyClient bool, ciphers string) (tlsConfig *tls.Config, err error)
-
func ReadPEMData(pemFile string, pemPass []byte) ([]byte, error)
ReadPEMData Read a PEM file and ask for a password to decrypt it if needed
Source Files
¶
Click to show internal directories.
Click to hide internal directories.