issuer

package
v0.0.0-...-7b34d14 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	DefaultRsaBits                    = 2048
	DefaultAllowedClockSkew           = 10 * time.Second
	DefaultWorkloadCertValidityPeriod = 24 * time.Hour
)

Variables

This section is empty.

Functions

func NewWorkloadCert

func NewWorkloadCert(ca util_tls.KeyPair, mesh string, services []string, certOpts ...CertOptsFn) (*util_tls.KeyPair, error)

Types

type CertOptsFn

type CertOptsFn = func(*x509.Certificate)

func WithExpirationTime

func WithExpirationTime(expiration time.Duration) CertOptsFn

Jump to

Keyboard shortcuts

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