luci: Index | Files

package certs

import ""

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


Package Files


type Bundle Uses

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 Uses

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 certs imports 6 packages (graph) and is imported by 2 packages. Updated 2021-01-26. Refresh now. Tools for package owners.