ssl

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCertAuth

func AddCertAuth(name string, ca []byte) (*ingress.SSLCert, error)

AddCertAuth creates a .pem file with the specified CAs to be used in Cert Authentication If it's already exists, it's clobbered.

func AddOrUpdateCertAndKey

func AddOrUpdateCertAndKey(name string, cert, key, ca []byte) (*ingress.SSLCert, error)

AddOrUpdateCertAndKey creates a .pem file wth the cert and the key with the specified name

func AddOrUpdateDHParam

func AddOrUpdateDHParam(name string, dh []byte) (string, error)

AddOrUpdateDHParam creates a dh parameters file with the specified name

func GetFakeSSLCert

func GetFakeSSLCert() ([]byte, []byte)

GetFakeSSLCert creates a Self Signed Certificate Based in the code https://golang.org/src/crypto/tls/generate_cert.go

Types

This section is empty.

Jump to

Keyboard shortcuts

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