Back to godoc.org

Package certs

v0.0.0-...-1557bcf
Latest Go to latest

The latest major version is .

Published: Aug 13, 2020 | License: Apache-2.0 | Module: github.com/luci/luci-go

Overview

Package certs knows how to fetch certificate bundles of trusted services.

Index

type Bundle

type Bundle struct {
	ServiceURL string // root URL of the service to fetch the bundle from
	// contains filtered or unexported fields
}

Bundle is a lazy-loaded cert bundle of some LUCI service.

func (*Bundle) GetCerts

func (b *Bundle) GetCerts(ctx context.Context) (identity.Identity, *signing.PublicCertificates, error)

GetCerts fetches (perhaps from cache) cert bundles of the service.

Returns the service identity as well.

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier