provider

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package provider provides TLS config for client & server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TLSConfig

type TLSConfig struct {
	// contains filtered or unexported fields
}

TLSConfig provides client & server TLS configs for trustd.

func NewTLSConfig

func NewTLSConfig(resources state.State) (*TLSConfig, error)

NewTLSConfig builds provider from configuration and endpoints.

func (*TLSConfig) ServerConfig

func (tlsConfig *TLSConfig) ServerConfig() (*stdlibtls.Config, error)

ServerConfig generates server-side tls.Config.

Jump to

Keyboard shortcuts

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