state

package
v0.6.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCertificateUsingTPP added in v0.5.6

func GenerateCertificateUsingTPP(subject pkix.Name) (pemChain string, pemCertificate string, pemPrivateKey string, err error)

func GetRootCACert

func GetRootCACert() []byte

func GetServerTLSCert

func GetServerTLSCert() *tls.Certificate

func GetStateDescription added in v0.5.8

func GetStateDescription() (result string)

func GetSubCACert

func GetSubCACert() *x509.Certificate

func GetSubCAKey

func GetSubCAKey() *rsa.PrivateKey

func GetSubCAPEMCert

func GetSubCAPEMCert() []byte

func InitState

func InitState(tlsCertDir string)

InitState initializes the in-memory state

func InitStateUsingCerts

func InitStateUsingCerts(caCert, caKey, tlsCertDir string) error

func InitStateUsingTPP

func InitStateUsingTPP(url, zone, token, certDir string) (err error)

func InitStateUsingTPPPassthrough

func InitStateUsingTPPPassthrough(url, zone, token, certDir string) (err error)

func UsingPassthrough added in v0.5.6

func UsingPassthrough() bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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