Versions in this module Expand all Collapse all v1 v1.0.0 Sep 19, 2024 Changes in this version + func CheckCertKey(cert *x509.Certificate, privKey *rsa.PrivateKey) (bool, error) + func CheckCertValidity(notBefore, notAfter time.Time, validity string) (bool, error) + func ExtractCertData(secret corev1.Secret) (x509.Certificate, error) + func ExtractKeyData(secret corev1.Secret) (rsa.PrivateKey, error) + func GeneratePrivateKeyPEM() ([]byte, error) + func GenerateTLSCertificate(dns string, validity string) ([]byte, []byte, error)