Documentation
¶
Index ¶
- func GenerateCertificateUsingTPP(subject pkix.Name) (pemChain string, pemCertificate string, pemPrivateKey string, err error)
- func GetRootCACert() []byte
- func GetServerTLSCert() *tls.Certificate
- func GetSubCACert() *x509.Certificate
- func GetSubCAKey() *rsa.PrivateKey
- func GetSubCAPEMCert() []byte
- func InitState(tlsCertDir string)
- func InitStateUsingCerts(caCert, caKey, tlsCertDir string) error
- func InitStateUsingTPP(url, zone, token, certDir string) (err error)
- func InitStateUsingTPPPassthrough(url, zone, token, certDir string) (err error)
- func UsingPassthrough() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCertificateUsingTPP ¶ added in v0.5.6
func GetRootCACert ¶
func GetRootCACert() []byte
func GetServerTLSCert ¶
func GetServerTLSCert() *tls.Certificate
func GetSubCACert ¶
func GetSubCACert() *x509.Certificate
func GetSubCAKey ¶
func GetSubCAKey() *rsa.PrivateKey
func GetSubCAPEMCert ¶
func GetSubCAPEMCert() []byte
func InitStateUsingCerts ¶
func InitStateUsingTPP ¶
func UsingPassthrough ¶ added in v0.5.6
func UsingPassthrough() bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.