certs

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2021 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 Cert

type Cert struct {
	X509Cert   *x509.Certificate
	PrivKey    crypto.PrivateKey
	SignedCert []byte
}

func GenCert

func GenCert(name, altName string, isServer bool) Cert

func (Cert) PrivateKeyPEMBytes

func (c Cert) PrivateKeyPEMBytes() []byte

func (Cert) SignedCertPEMBytes

func (c Cert) SignedCertPEMBytes() []byte

Jump to

Keyboard shortcuts

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