ca

package
v0.0.0-...-8be4e7c Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2019 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authority

type Authority struct {
	PublicSignedCertificate []byte
	PrivateKey              []byte
}

Authority represent an Ca Authority

func GenerateNewCA

func GenerateNewCA() (Authority, error)

GenerateNewCA Generates an public and private key for Certificate Authority. Right now most of the value are hardcoded.

Jump to

Keyboard shortcuts

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