Documentation ¶
Index ¶
- func MakeSelfSignedCA(name string) (*x509.Certificate, *rsa.PrivateKey, error)
- func MakeSignedClientCert(cacert *x509.Certificate, caPrivateKey *rsa.PrivateKey, name string) (*x509.Certificate, *rsa.PrivateKey, error)
- func MakeSignedServerCert(caCert *x509.Certificate, caPrivateKey *rsa.PrivateKey, dnsNames []string, ...) (*x509.Certificate, *rsa.PrivateKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeSelfSignedCA ¶
func MakeSelfSignedCA(name string) (*x509.Certificate, *rsa.PrivateKey, error)
func MakeSignedClientCert ¶
func MakeSignedClientCert(cacert *x509.Certificate, caPrivateKey *rsa.PrivateKey, name string) (*x509.Certificate, *rsa.PrivateKey, error)
func MakeSignedServerCert ¶
func MakeSignedServerCert(caCert *x509.Certificate, caPrivateKey *rsa.PrivateKey, dnsNames []string, ipAddresses []net.IP) (*x509.Certificate, *rsa.PrivateKey, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.