tlsutil

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TLSOptions

type TLSOptions struct {
	CipherSuites  x509util.CipherSuites `json:"cipherSuites" step:"cipherSuites"`
	MinVersion    x509util.TLSVersion   `json:"minVersion"   step:"minVersion"`
	MaxVersion    x509util.TLSVersion   `json:"maxVersion"   step:"maxVersion"`
	Renegotiation bool                  `json:"renegotiation" step:"renegotiation"`
}

TLSOptions represents the TLS options that can be specified on *tls.Config types to configure HTTPS servers and clients.

func (*TLSOptions) TLSConfig

func (t *TLSOptions) TLSConfig() *tls.Config

TLSConfig returns the tls.Config equivalent of the TLSOptions.

Jump to

Keyboard shortcuts

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