expiry

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoulderAPIFetcher

type BoulderAPIFetcher struct {
	Client  *http.Client
	BaseURL string
}

func (*BoulderAPIFetcher) FetchNotAfter

func (baf *BoulderAPIFetcher) FetchNotAfter(ctx context.Context, serial *big.Int) (time.Time, error)

FetchNotAfter downloads a certificate, parses it, and returns the NotAfter on it. It uses a non-acme path to download a certificate unauthenticated by serial. So it is specific to Boulder's API, not a generic ACME API client.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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