Documentation ¶
Overview ¶
Package fakeca implements a fake root CA for signing fake TLS certificates.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCA ¶
type FakeCA struct { PrivKey *rsa.PrivateKey Cert *x509.Certificate PrivKeyPEM []byte CertPEM []byte }
FakeCA is a fake root CA for signing fake TLS certificates.
func FromKeyPair ¶
FromKeyPair converts a key pair in PEM bytes into a FakeCA.
Click to show internal directories.
Click to hide internal directories.