Documentation ¶
Index ¶
Constants ¶
View Source
const ROOT_CERT = `` /* 1525-byte string literal not displayed */
View Source
const ROOT_CERT_1 = `` /* 1525-byte string literal not displayed */
View Source
const ROOT_KEY = `` /* 1679-byte string literal not displayed */
View Source
const ROOT_KEY_1 = `` /* 1679-byte string literal not displayed */
Variables ¶
View Source
var RootCert *x509.Certificate
View Source
var RootKey *rsa.PrivateKey
Functions ¶
func CreateX509Cert ¶
func CreateX509Cert( parentCert *x509.Certificate, parentKey *rsa.PrivateKey, commonName string, dnsNames []string, ipAddresses []net.IP, ) (certBytes []byte, privateKey *rsa.PrivateKey, err error)
REF: https://www.socketloop.com/tutorials/golang-create-x509-certificate-private-and-public-keys
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.