Documentation
¶
Overview ¶
Package tlstest issues throwaway certificates for tests: an in-memory CA and the leaves it signs, written as PEM files the way an operator deploys them. Nothing here is meant for production use.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CA ¶
type CA struct {
Cert *x509.Certificate
// Pool trusts only this CA.
Pool *x509.CertPool
// PEM is the CA certificate, PEM encoded.
PEM []byte
// contains filtered or unexported fields
}
CA is a private certificate authority held in memory.
Click to show internal directories.
Click to hide internal directories.