camaker

package
Version: v0.0.0-...-e61e187 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2013 License: AGPL-3.0-or-later Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCA

func GenerateCA(subjectOrg string, subjectCN string, bits int) (*x509.Certificate, *rsa.PrivateKey, error)

Generate 4k Root CA key.

func GenerateCert

func GenerateCert(serverName string, caCert *x509.Certificate, caKey *rsa.PrivateKey, bits int) (*x509.Certificate, *rsa.PrivateKey, error)

create plain old https server certificates doesn't have to be too strong.

func GenerateFPCA

func GenerateFPCA(subjectOrg string, subjectCN string, caCert *x509.Certificate, caKey *rsa.PrivateKey, bits int) (*x509.Certificate, *rsa.PrivateKey, error)

generate 3k FPCA key.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL