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

Method ClientHandshake

credentials/alts/internal/common.go:60–60  ·  view source on GitHub ↗

ClientHandshake starts and completes a client-side handshaking and returns a secure connection and corresponding auth information.

(ctx context.Context)

Source from the content-addressed store, hash-verified

58 // ClientHandshake starts and completes a client-side handshaking and
59 // returns a secure connection and corresponding auth information.
60 ClientHandshake(ctx context.Context) (net.Conn, credentials.AuthInfo, error)
61 // ServerHandshake starts and completes a server-side handshaking and
62 // returns a secure connection and corresponding auth information.
63 ServerHandshake(ctx context.Context) (net.Conn, credentials.AuthInfo, error)

Implementers 1

altsHandshakercredentials/alts/internal/handshaker/h

Calls

no outgoing calls