caissuingprocess

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

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

Go to latest
Published: Mar 19, 2026 License: GPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidCsr = errors.New("invalid csr")
View Source
var ErrUnknownSerial = errors.New("unknown serial")

Functions

This section is empty.

Types

type OneCaType

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

func LoadOneCa

func LoadOneCa(
	ctx context.Context,
	logger types.Logger,
	caId string,
	dataDirectory string,
	caConfig types.CertificateAuthorityType,
) (*OneCaType, error)

func (*OneCaType) GetCrlPem

func (oneCa *OneCaType) GetCrlPem() ([]byte, error)

func (*OneCaType) GetIssuerPem

func (oneCa *OneCaType) GetIssuerPem() ([]byte, error)

func (*OneCaType) IssueAllCsrInQueue

func (oneCa *OneCaType) IssueAllCsrInQueue() error

func (*OneCaType) RevokeOneSerial

func (oneCa *OneCaType) RevokeOneSerial(crtSerial *big.Int) error

func (*OneCaType) SignCsrFile

func (oneCa *OneCaType) SignCsrFile(csrFilename string) ([]byte, error)

func (*OneCaType) UpdateCrl

func (oneCa *OneCaType) UpdateCrl() error

Jump to

Keyboard shortcuts

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