pki

package module
v0.0.0-...-a73eba1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2018 License: Apache-2.0 Imports: 8 Imported by: 2

README

pki GoDoc

PKI library for APIBox.

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.

Jump to

Keyboard shortcuts

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