luci: go.chromium.org/luci/server/auth/authdb/internal/certs Index | Files

package certs

import "go.chromium.org/luci/server/auth/authdb/internal/certs"

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

Index

Package Files

certs.go

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 2019-12-14. Refresh now. Tools for package owners.