fakeserverca

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CA

type CA struct {
	*ca.CA
	// contains filtered or unexported fields
}

func New

func New(t *testing.T, trustDomain string, options *Options) *CA

func (*CA) Bundle

func (c *CA) Bundle() []*x509.Certificate

func (*CA) Clock

func (c *CA) Clock() clock.Clock

func (*CA) JWTSVIDTTL

func (c *CA) JWTSVIDTTL() time.Duration

func (*CA) X509SVIDTTL

func (c *CA) X509SVIDTTL() time.Duration

type Options

type Options struct {
	Clock          clock.Clock
	X509SVIDTTL    time.Duration
	JWTSVIDTTL     time.Duration
	UpstreamCA     upstreamca.UpstreamCA
	UpstreamBundle bool
}

Jump to

Keyboard shortcuts

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