Documentation
¶
Overview ¶
ref: https://medium.com/@shaneutt/create-sign-x509-certificates-in-golang-8ac4ae49f903 ref: https://www.crunchydata.com/blog/ssl-certificate-authentication-postgresql-docker-containers ref: https://fenixara.com/golang-connecting-to-posgres-using-ssl/
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CA ¶
type CA struct {
// contains filtered or unexported fields
}
func Generate ¶
func Generate() (*CA, *keysplitting.SplitPrivateKey, error)
func (*CA) GenerateServerCertificate ¶
func (*CA) PrivateKey ¶
func (c *CA) PrivateKey() *rsa.PrivateKey
func (*CA) SplitPrivateKey ¶ added in v0.1.12
func (c *CA) SplitPrivateKey() *keysplitting.SplitPrivateKey
func (*CA) X509 ¶
func (c *CA) X509() *x509.Certificate
Click to show internal directories.
Click to hide internal directories.