package internal

Import Path
	google.golang.org/grpc/credentials/alts/internal (on go.dev)

Dependency Relation
	imports 3 packages, and imported by 3 packages

Involved Source Files Package internal contains common core functionality for ALTS.
Package-Level Type Names (total 3, in which 2 are exported)
/* sort exporteds by: | */
Handshaker defines a ALTS handshaker interface. ClientHandshake starts and completes a client-side handshaking and returns a secure connection and corresponding auth information. Close terminates the Handshaker. It should be called when the caller obtains the secure connection. ServerHandshake starts and completes a server-side handshaking and returns a secure connection and corresponding auth information. func google.golang.org/grpc/credentials/alts/internal/handshaker.NewClientHandshaker(ctx context.Context, conn *grpc.ClientConn, c net.Conn, opts *handshaker.ClientHandshakerOptions) (Handshaker, error) func google.golang.org/grpc/credentials/alts/internal/handshaker.NewServerHandshaker(ctx context.Context, conn *grpc.ClientConn, c net.Conn, opts *handshaker.ServerHandshakerOptions) (Handshaker, error)
Side identifies the party's role: client or server. func google.golang.org/grpc/credentials/alts/internal/conn.CounterSide(c []byte) Side func google.golang.org/grpc/credentials/alts/internal/conn.NewAES128GCM(side Side, key []byte) (conn.ALTSRecordCrypto, error) func google.golang.org/grpc/credentials/alts/internal/conn.NewAES128GCMRekey(side Side, key []byte) (conn.ALTSRecordCrypto, error) func google.golang.org/grpc/credentials/alts/internal/conn.NewConn(c net.Conn, side Side, recordProtocol string, key []byte, protected []byte) (net.Conn, error) func google.golang.org/grpc/credentials/alts/internal/conn.NewInCounter(s Side, overflowLen int) (c conn.Counter) func google.golang.org/grpc/credentials/alts/internal/conn.NewOutCounter(s Side, overflowLen int) (c conn.Counter) const ClientSide const ServerSide
Package-Level Variables (only one, which is exported)
PeerNotRespondingError is returned when a peer server is not responding after a channel has been established. It is treated as a temporary connection error and re-connection to the server should be attempted.
Package-Level Constants (total 2, both are exported)
ClientSide identifies the client in this communication.
ServerSide identifies the server in this communication.