certificate

package
v0.1.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeCertificatePEM

func EncodeCertificatePEM(cert *x509.Certificate) (string, error)

func EncodeRSAPrivateKeyPEM

func EncodeRSAPrivateKeyPEM(key *rsa.PrivateKey) (string, error)

func GenerateSerialNumber added in v0.1.21

func GenerateSerialNumber() (*big.Int, error)

Types

This section is empty.

Directories

Path Synopsis
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/
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/
Code taken verbatim from the golang source code
Code taken verbatim from the golang source code

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL