Documentation ¶
Index ¶
Constants ¶
View Source
const (
CertificateValidity = time.Hour * 24 * 365
)
Variables ¶
This section is empty.
Functions ¶
func GenerateKeyPair ¶
func GenerateSignedCertAndKey ¶
func GenerateSignedCertAndKey(config *certutil.Config, caCertBytes, caKeyBytes []byte) (keyBytes, certBytes []byte, err error)
GenerateCertAndKey for a given config and valid CA, will check existing certs if they are valid, else will generate new cert and key for the certutil.Config provided
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.