ca

package
v2.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MPL-2.0 Imports: 20 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CAImpl

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

func New

func New(log *log.Logger, db *db.MemoryStore, ocspResponderURL string, alternateRoots int, chainLength int, certificateValidityPeriod uint64) *CAImpl

func (*CAImpl) CompleteOrder

func (ca *CAImpl) CompleteOrder(order *core.Order)

func (*CAImpl) GetIntermediateCert

func (ca *CAImpl) GetIntermediateCert(no int) *core.Certificate

GetIntermediateCert returns the first (closest the leaf) issuer certificate in the chain identified by `no`.

func (*CAImpl) GetIntermediateKey

func (ca *CAImpl) GetIntermediateKey(no int) *rsa.PrivateKey

func (*CAImpl) GetNumberOfRootCerts

func (ca *CAImpl) GetNumberOfRootCerts() int

func (*CAImpl) GetRootCert

func (ca *CAImpl) GetRootCert(no int) *core.Certificate

func (*CAImpl) GetRootKey

func (ca *CAImpl) GetRootKey(no int) *rsa.PrivateKey

Jump to

Keyboard shortcuts

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