ejbca

package
v1.138.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: Apache-2.0 Imports: 15 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const CAName = "ejbCA"

Variables

This section is empty.

Functions

This section is empty.

Types

type EJBCA

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

func New

func New(serverURL, keyPath, certPath, rootCAPath, certProfileName, endEntityProfileName, caName string) (*EJBCA, error)

func (EJBCA) CreateCertificateFromCSR

func (e EJBCA) CreateCertificateFromCSR(ctx context.Context, principal identity.Principal, csr *x509.CertificateRequest) (*fulcioca.CodeSigningCertificate, error)

func (EJBCA) GetName added in v1.0.0

func (e EJBCA) GetName() string

func (EJBCA) GetRootChain added in v0.162.0

func (e EJBCA) GetRootChain(_ context.Context) ([]*x509.Certificate, error)

type EnrollStatusError added in v1.132.0

type EnrollStatusError struct {
	// Status is the HTTP status line, for example "403 Forbidden".
	Status string
	// StatusCode is the HTTP status code.
	StatusCode int
}

EnrollStatusError is returned when EJBCA answers a certificate enrollment with an unexpected HTTP status. It is a separate type so that error trackers do not group it with transport or decoding failures.

func (*EnrollStatusError) Error added in v1.132.0

func (e *EnrollStatusError) Error() string

Jump to

Keyboard shortcuts

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