Documentation ¶
Index ¶
- func GenerateTLSKeypairForTests(t *testing.T, commonname string, dns []string, ips []net.IP, ...) (*rsa.PrivateKey, *x509.Certificate)
- func GenerateTLSKeypairForTests_WithTime(t *testing.T, commonname string, dns []string, ips []net.IP, ...) (*rsa.PrivateKey, *x509.Certificate)
- func GenerateTLSKeypairPEMsForTests(t *testing.T, commonname string, dns []string, ips []net.IP, parent []byte, ...) (key []byte, keypkcs8 []byte, cert []byte)
- func GenerateTLSRootForTests(t *testing.T, commonname string, dns []string, ips []net.IP) (*rsa.PrivateKey, *x509.Certificate)
- func GenerateTLSRootPEMsForTests(t *testing.T, commonname string, dns []string, ips []net.IP) (key []byte, keypkcs8 []byte, cert []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateTLSKeypairForTests ¶
func GenerateTLSKeypairForTests(t *testing.T, commonname string, dns []string, ips []net.IP, parent *x509.Certificate, parentkey *rsa.PrivateKey) (*rsa.PrivateKey, *x509.Certificate)
func GenerateTLSKeypairForTests_WithTime ¶
func GenerateTLSKeypairForTests_WithTime(t *testing.T, commonname string, dns []string, ips []net.IP, parent *x509.Certificate, parentkey *rsa.PrivateKey, issueat time.Time, duration time.Duration) (*rsa.PrivateKey, *x509.Certificate)
func GenerateTLSRootForTests ¶
func GenerateTLSRootForTests(t *testing.T, commonname string, dns []string, ips []net.IP) (*rsa.PrivateKey, *x509.Certificate)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.