Documentation ¶
Index ¶
- func GenerateTPPRootCACertAndKey(url, zone, token string) (rootCert *x509.Certificate, pemRootCACert []byte, subCert *x509.Certificate, ...)
- func TPPGenerateCertificateChainAndKey(url, zone, token string, subject pkix.Name) (pemChain string, pemCertificate string, pemPrivateKey string, err error)
- func TPPGetPolicy(url, zone, token string) (defaultConfiguration *DefaultZoneConfiguration, restrictions *PolicyRegex, ...)
- type DefaultZoneConfiguration
- type PolicyRegex
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateTPPRootCACertAndKey ¶
func GenerateTPPRootCACertAndKey(url, zone, token string) (rootCert *x509.Certificate, pemRootCACert []byte, subCert *x509.Certificate, pemSubCACert []byte, rsaRootKey *rsa.PrivateKey, err error)
GenerateTPPRootCACertAndKey generates CA issuing cert and key using TPP
func TPPGenerateCertificateChainAndKey ¶
func TPPGenerateCertificateChainAndKey(url, zone, token string, subject pkix.Name) (pemChain string, pemCertificate string, pemPrivateKey string, err error)
TPPGenerateCertificateChainAndKey generates a certificate using TPP
func TPPGetPolicy ¶
func TPPGetPolicy(url, zone, token string) (defaultConfiguration *DefaultZoneConfiguration, restrictions *PolicyRegex, err error)
Types ¶
Click to show internal directories.
Click to hide internal directories.