ca

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Certificate

type Certificate interface {
	GetTLSCertificate() *tls.Certificate
	GetCertificatePEM() []byte
	GetPrivateKeyPEM() []byte
}

type CertificateContainer

type CertificateContainer struct {
	PrivateKeyPEM  []byte
	CertificatePEM []byte
	TLSCertificate *tls.Certificate
}

func (*CertificateContainer) GetCertificatePEM

func (c *CertificateContainer) GetCertificatePEM() []byte

func (*CertificateContainer) GetPrivateKeyPEM

func (c *CertificateContainer) GetPrivateKeyPEM() []byte

func (*CertificateContainer) GetTLSCertificate

func (c *CertificateContainer) GetTLSCertificate() *tls.Certificate

type Client

type Client interface {
	GetCAEndpoint() string
	GetCAPem() []byte
	GetCertificate(hostname string, ttl time.Duration) (Certificate, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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