security

package
v0.0.0-...-49d019c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2018 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCertificateChain

func GetCertificateChain(certFile, keyFile string) (tls.Certificate, error)

GetCertificateChain generates a TLS certificate from a valid and secure pair of PEM encoded files.

func SetCipherSuites

func SetCipherSuites(config *tls.Config)

SetCipherSuites will receive a tls.Config pointer and will set CipherSuites array and PreferServerCipherSuites as true.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL