fakeserverca

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 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 spiffeid.TrustDomain, 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
}

Jump to

Keyboard shortcuts

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