njs_certif

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCACertificateContents

func AddCACertificateContents(caContent string) bool

func AddCACertificateFile

func AddCACertificateFile(caFile string) bool

func AddCertificateContents

func AddCertificateContents(keyContents, certContents string) bool

func AddCertificateFile

func AddCertificateFile(keyFile, certFile string) bool

func AddRootCAContents

func AddRootCAContents(rootContent string) bool

func AddRootCAFile

func AddRootCAFile(rootFile string) bool

func AppendCertificates

func AppendCertificates(cert []tls.Certificate) []tls.Certificate

func CheckCertificates

func CheckCertificates() bool

func GetCertificates

func GetCertificates() []tls.Certificate

func GetCipherKey

func GetCipherKey(cipher string) uint16

func GetClientCA

func GetClientCA() *x509.CertPool

func GetCurveID

func GetCurveID(curveRef string) tls.CurveID

func GetRootCA

func GetRootCA() *x509.CertPool

func GetTLSConfig

func GetTLSConfig(serverName string) *tls.Config

func GetTlsConfigCertificates

func GetTlsConfigCertificates() *tls.Config

func InitRootCA

func InitRootCA()

func SetCipherList

func SetCipherList(cipher []uint16)

func SetClientAuth

func SetClientAuth(auth string)

func SetCurve

func SetCurve(curves []tls.CurveID)

func SetDynamicSizing

func SetDynamicSizing(enable bool)

func SetSessionTicket

func SetSessionTicket(enable bool)

func SetStringTlsVersion

func SetStringTlsVersion(tlsVersStr string)

func SetTlsVersion

func SetTlsVersion(tlsVers uint16)

Types

This section is empty.

Jump to

Keyboard shortcuts

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