Documentation
¶
Overview ¶
Package certtest builds throwaway CAs and leaf certificates for certificate posture tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CertPEM ¶
func CertPEM(cert *x509.Certificate) string
Types ¶
type CA ¶
type CA struct {
Cert *x509.Certificate
Key crypto.Signer
PEM string
}
func NewIntermediate ¶
NewIntermediate creates a CA signed by parent.
Click to show internal directories.
Click to hide internal directories.