dynamiccert

package
v0.6.0 Latest Latest
Warning

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

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

Documentation

Overview

Package dynamiccert provides a simple way of communicating a dynamically updating PEM-encoded certificate and key.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider interface {
	dynamiccertificates.CertKeyContentProvider
	Set(certPEM, keyPEM []byte)
}

Provider provides a getter, CurrentCertKeyContent(), and a setter, Set(), for a PEM-formatted certificate and matching key.

func New

func New() Provider

New returns an empty Provider. The returned Provider is thread-safe.

Jump to

Keyboard shortcuts

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