MCPcopy
hub / github.com/grpc/grpc-go / KeyMaterial

Method KeyMaterial

credentials/tls/certprovider/provider.go:86–86  ·  view source on GitHub ↗

KeyMaterial returns the key material sourced by the Provider. Callers are expected to use the returned value as read-only.

(ctx context.Context)

Source from the content-addressed store, hash-verified

84 // KeyMaterial returns the key material sourced by the Provider.
85 // Callers are expected to use the returned value as read-only.
86 KeyMaterial(ctx context.Context) (*KeyMaterial, error)
87
88 // Close cleans up resources allocated by the Provider.
89 Close()

Callers 8

KeyMaterialMethod · 0.65
clientConfigMethod · 0.65
serverConfigMethod · 0.65
ClientSideTLSConfigMethod · 0.65
ServerSideTLSConfigMethod · 0.65
ClientHandshakeMethod · 0.65

Implementers 7

closedProvidercredentials/tls/certprovider/store.go
singleCloseWrappedProvidercredentials/tls/certprovider/store.go
watchercredentials/tls/certprovider/pemfile/w
fakeProvidercredentials/xds/xds_client_test.go
fakeProvidersecurity/advancedtls/advancedtls_test.
systemRootCertsProviderinternal/xds/balancer/clusterimpl/clus
failingProviderinternal/xds/bootstrap/tlscreds/bundle

Calls

no outgoing calls