ca

package
v0.0.0-...-6e71b59 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(csr *x509.CertificateRequest, key *rsa.PrivateKey, duration time.Duration, rnd io.Reader) (*x509.Certificate, error)

New generates a new Certificate Authority

func Sign

func Sign(csr *x509.CertificateRequest, CAcrt *x509.Certificate, CAkey *rsa.PrivateKey, duration time.Duration, rnd io.Reader) (*x509.Certificate, error)

Sign the CSR

Types

This section is empty.

Directories

Path Synopsis
cmd
new

Jump to

Keyboard shortcuts

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