Versions in this module Expand all Collapse all v2 v2.2.0 Feb 28, 2023 Changes in this version + func MTLSClientCredentials(svid x509svid.Source, bundle x509bundle.Source, ...) credentials.TransportCredentials + func MTLSServerCredentials(svid x509svid.Source, bundle x509bundle.Source, ...) credentials.TransportCredentials + func MTLSWebClientCredentials(svid x509svid.Source, roots *x509.CertPool, opts ...tlsconfig.Option) credentials.TransportCredentials + func MTLSWebServerCredentials(cert *tls.Certificate, bundle x509bundle.Source, ...) credentials.TransportCredentials + func PeerIDFromContext(ctx context.Context) (spiffeid.ID, bool) + func PeerIDFromPeer(p *peer.Peer) (spiffeid.ID, bool) + func TLSClientCredentials(bundle x509bundle.Source, authorizer tlsconfig.Authorizer, ...) credentials.TransportCredentials + func TLSServerCredentials(svid x509svid.Source, opts ...tlsconfig.Option) credentials.TransportCredentials