Documentation ¶
Index ¶
- func GenerateCACertificate() (cert []byte, key []byte, err error)
- func GenerateCertificateSigningRequest(commonName string) (csr []byte, key []byte, err error)
- func GenerateHTTPTLSConfig(certBytes, keyBytes []byte) (*tls.Config, error)
- func GenerateRPCTLSConfig(certBytes, keyBytes, caCertBytes []byte) (*tls.Config, error)
- func SignCsr(caCertBytes, caKeyBytes, csrBytes []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCACertificate ¶
func GenerateHTTPTLSConfig ¶
func GenerateRPCTLSConfig ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.