package cert
Import Path
google.golang.org/api/transport/cert (on go.dev)
Dependency Relation
imports 10 packages, and imported by one package
Involved Source Files
Package cert contains certificate tools for Google API clients.
This package is intended to be used with crypto/tls.Config.GetClientCertificate.
The certificates can be used to satisfy Google's Endpoint Validation.
See https://cloud.google.com/endpoint-verification/docs/overview
This package is not intended for use by end developers. Use the
google.golang.org/api/option package to configure API clients.
Package-Level Type Names (total 3, in which 1 are exported)
Source is a function that can be passed into crypto/tls.Config.GetClientCertificate.
func DefaultSource() (Source, error)
func newSecureConnectSource() (Source, error)
func google.golang.org/api/transport/http.getClientCertificateSource(settings *internal.DialSettings) (Source, error)
func google.golang.org/api/transport/http.defaultBaseTransport(ctx context.Context, clientCertSource Source) http.RoundTripper
func google.golang.org/api/transport/http.getEndpoint(settings *internal.DialSettings, clientCertSource Source) (string, error)
var defaultSource
Package-Level Functions (total 3, in which 1 are exported)
DefaultSource returns a certificate source that execs the command specified
in the file at ~/.secureConnect/context_aware_metadata.json
If that file does not exist, a nil source is returned.
Package-Level Variables (total 3, none are exported)
Package-Level Constants (total 2, neither is exported)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |