csr

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CASignedCert

type CASignedCert struct {
	SignedCertificate []byte
	PrivateKey        []byte
}

CASignedCert returns all the ca signed certificate

type Req

type Req struct {
	// contains filtered or unexported fields
}

Req Respresent a new CSR Request.

func GenerateNew

func GenerateNew(cnName string) Req

GenerateNew generates a new CSR Req

func (Req) SignCertificate

func (r Req) SignCertificate(authority ca.Authority) CASignedCert

SignCertificate sign the certificate with the passed ca.Authority

Jump to

Keyboard shortcuts

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