gpublicca

package
v1.77.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GooglePublicCAProduction = "https://dv.acme-v02.api.pki.goog/directory"
	GooglePublicCAStaging    = "https://dv.acme-v02.test-api.pki.goog/directory"
)

google public ca URLs.

Variables

View Source
var (
	// Error is the error class for this package.
	Error errs.Class = "gpublicca"
)

Functions

This section is empty.

Types

type GooglePublicCAIssuer

type GooglePublicCAIssuer struct {
	*certmagic.ACMEIssuer
	// contains filtered or unexported fields
}

GooglePublicCAIssuer makes an ACME issuer for getting certificates from GooglePublicCA by automatically generating EAB credentials.

This issuer is only needed for automatic generation of EAB credentials. If manually configuring EAB credentials, the standard ACMEIssuer may be used if desired.

func New

func New(acmeIss *certmagic.ACMEIssuer, key []byte) *GooglePublicCAIssuer

New initializes a google public CA ACME issuer.

func (*GooglePublicCAIssuer) PreCheck

func (iss *GooglePublicCAIssuer) PreCheck(ctx context.Context, names []string, interactive bool) error

PreCheck implements the certmagic.PreChecker interface.

Jump to

Keyboard shortcuts

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