pki

package
v0.0.0-...-1f1f075 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Certificate

type Certificate struct {
	Certificate string `json:"cert" yaml:"cert"`
	PrivateKey  string `json:"key" yaml:"key"`
}

func CreateAuraeRootCA

func CreateAuraeRootCA(path string, domainName string) (*Certificate, error)

type CertificateRequest

type CertificateRequest struct {
	CSR        string `json:"csr" yaml:"csr"`
	PrivateKey string `json:"key" yaml:"key"`
	User       string `json:"user" yaml:"user"`
}

func CreateClientCSR

func CreateClientCSR(path, domain, user string) (*CertificateRequest, error)

Jump to

Keyboard shortcuts

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