Documentation
¶
Overview ¶
Package testtls creates ephemeral certificate authorities for transport tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authority ¶
type Authority struct {
Certificate *x509.Certificate
Key *ecdsa.PrivateKey
PEM []byte
Roots *x509.CertPool
}
type Certificate ¶
type Certificate struct {
TLS tls.Certificate
PEM, KeyPEM []byte
}
Click to show internal directories.
Click to hide internal directories.