Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestCA ¶
type TestCA struct { Opts Options CertPEM []byte PrivPEM []byte CertDER []byte PrivDER []byte Priv *ecdsa.PrivateKey Cert *x509.Certificate }
func New ¶
New creates a testCA that can generate configurations for testing.
Heavily inspired by: https://www.youtube.com/watch?v=VwPQKS9Njv0 https://docs.google.com/presentation/d/16y-HTvL7ASzf9JspCBX0OVmhwUWVoLj9epzJfNMQRr8/edit
func (*TestCA) ClientConfig ¶
func (*TestCA) ServerConfig ¶
Click to show internal directories.
Click to hide internal directories.